db_len_t db_get_field_data ( db_row_t  hrow,
db_fieldno_t  nfield,
db_vartype_t  ctype,
void *  data,
db_len_t  size 
)

Copy the data stored in a particular field in a row to data, a pointer to a variable of the type specified by ctype.

Parameters:
hrow Row handle.
nfield Field number.
ctype Data type to return.
data Pointer to a buffer where the returned field is to be stored.
size length of data buffer in bytes.
Returns:
On failure, one of the following error codes is set:

See also:
db_set_field_data,
get_db_error, clear_db_error, Error Handling


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