Difference between revisions of "OpenDBX/C API/odbx field length"

From Linuxnetworks
< OpenDBX‎ | C API
Jump to: navigation, search
 
(Description:)
Line 7: Line 7:
 
= Description: =
 
= Description: =
  
Returns the length of 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.  
+
Returns the length of the field value specified by "pos" of the current row. The value of "pos" must be in the range from 0 to [[OpenDBX_column_count|odbx_column_count()]]-1.
  
 
= Parameters: =
 
= Parameters: =

Revision as of 16:18, 5 June 2006


unsigned long odbx_field_length(
    odbx_result_t* result,
    unsigned long pos )

Description:

Returns the length of 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.

Parameters:

  • result: Object created by odbx_result()
  • pos: Column number in the current result set

Return values:

  • Length of the value in the specified column of the current row

Errors:

  • None



Back to Overview