next up previous contents
Next: cifAddRowByIndex Up: CIFLIB Item Value Update Previous: cifUpdateItemValueByAlias

cifAddRow

NAME cifAddRow

PROTOTYPE
#include "ciflib.h"

int  cifAddRow(const char *dataBlockName, 
               const char *categoryName)
PURPOSE

cifAddRow appends a row to the target category within the target data block. The data block and category are both identified by name. Once a new row has been created, other CIFLIB update functions can be used to load item values into the row.

RECEIVES

dataBlockName name of the target data block
categoryName name of the target category

RETURN VALUE

Returns the index for the new row or the value -1 for failure.

REMARKS

See also: cifUpdateItemValue
  cifUpdateItemValueByIndex
  cifUpdateItemValueByAlias
  cifAddRowByIndex



Olivera Tosic
6/17/2002