next up previous contents
Next: ndb_cif_item_row_3_key Up: Function Description Previous: ndb_cif_item_row_1_key

ndb_cif_item_row_2_key

NAME ndb_cif_item_row_2_key

PROTOTYPE

#include "cifparse.h"

int ndb_cif_item_row_2_key(CifHandle *cf,
                           const int colId1, 
                           char *fieldValue1,
                           const int colId2,
                           char *fieldValue2);
PURPOSE

ndb_cif_item_row_2_key in the CifHandle data stucture specified by cf examines all the rows and return the row number if the fieldValue1 and fieldValue2 are found in the columns colId1 and colId2 respectively, and also set the current row to the row where the values were found.

RECEIVES

cf pointer to the CifHandle data structure
colId1 identifies the first column
fieldValue1 pointer to the value which is being looked for in the first column
colId2 identifies the second column
fieldValue2 pointer to the value which is being looked for in the second column

RETURN VALUE

Returns the row number where the values was found or 0 for failure.

REMARKS

See also: ndb_cif_item_row_1_key
  ndb_cif_item_row_3_key
  ndb_cif_item_row_4_key



Olivera Tosic
6/12/2002