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

ndb_cif_item_row_4_key

NAME ndb_cif_item_row_4_key

PROTOTYPE

#include "cifparse.h"

int ndb_cif_item_row_4_key(CifHandle *cf,
                           const int colId1, char *fieldValue1,
                           const int colId2, char *fieldValue2,
                           const int colId3, char *fieldValue3,
                           const int colId4, char *fieldValue4);
PURPOSE

ndb_cif_item_row_4_key in the CifHandle data stucture specified by cf examines all the rows and return the row number if the fieldValue1, fieldValue2, fieldValue3 and fieldValue4 are found in the columns colId1, colId2, colId3 and colId4 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
colId3 identifies the third column
fieldValue3 pointer to the value which is being looked for in the third column
colId4 identifies the fourth column
fieldValue4 pointer to the value which is being looked for in the fourth 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_2_key
  ndb_cif_item_row_3_key


next up previous contents
Next: ndb_cif_get_category_name_from_item_name Up: Function Description Previous: ndb_cif_item_row_3_key
Olivera Tosic
6/12/2002