db_result_t db_set_field_data ( db_row_t  hrow,
db_fieldno_t  nfield,
db_vartype_t  ctype,
const void *  data,
db_len_t  data_len 
)

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


Copyright © 2005-2008 ITTIA®. All rights reserved.