Copy the data stored in data to a particular field in a row.
data is a pointer to a variable of the type specified by ctype.
- Parameters:
-
| hrow | Row handle. |
| nfield | Field number. |
| ctype | Type of data being used to set field. |
| data | Pointer to data being used to set field. |
| data_len | Length of data as appropriate for the data type. |
- Returns:
-
On failure, one of the following error codes is set:
- See also:
- db_get_field_data,
get_db_error, clear_db_error, Error Handling