Difference between revisions of "OpenDBX/C API/odbx field value"
From Linuxnetworks
(→Description:) |
|||
| Line 7: | Line 7: | ||
= Description: = | = Description: = | ||
| − | Returns the value | + | Returns the field value specified by "pos" of the current row. The value of "pos" must be in the range from 0 to odbx_column_count()-1. All values except binary objects are returned as \0 terminated strings but NULL is also a valid field value. Numbers have to be converted to their binary representation before arithmetic operations are allowed. |
= Parameters: = | = Parameters: = | ||
Revision as of 20:33, 1 October 2005
char* odbx_field_value(
odbx_result_t* result,
unsigned long pos )
Description:
Returns the field value specified by "pos" of the current row. The value of "pos" must be in the range from 0 to odbx_column_count()-1. All values except binary objects are returned as \0 terminated strings but NULL is also a valid field value. Numbers have to be converted to their binary representation before arithmetic operations are allowed.
Parameters:
- result: Object created by odbx_result()
- pos: Column number in the current result set
Return values:
- String value or binary object of the specified field
Errors:
- None
Back to Overview