Difference between revisions of "OpenDBX/C API/odbx column name"

From Linuxnetworks
< OpenDBX‎ | C API
Jump to: navigation, search
 
(Description:)
Line 7: Line 7:
 
= Description: =
 
= Description: =
  
Returns the name of the field specified by "pos" in the current result set. The value of "pos" must be in the range from 0 to odbx_column_count()-1. In case of an error no error message is returned by odbx_error().  
+
Returns the column name of the field specified by "pos" in the current result set. The value of "pos" must be in the range from 0 to odbx_column_count()-1.
  
 
= Parameters: =
 
= Parameters: =

Revision as of 20:27, 1 October 2005


char* odbx_column_name(
   odbx_result_t* result,
   unsigned long pos )

Description:

Returns the column name of the field specified by "pos" in the current result set. 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:

  • Name of the column on success
  • NULL if an error occured

Errors:

  • None



Back to Overview