next up previous contents
Next: CIFLIB Item Convenience Functions Up: CIFLIB Item Value Update Previous: cifAddRow

cifAddRowByIndex

NAME cifAddRowByIndex

PROTOTYPE
#include "ciflib.h"

int  cifAddRowByIndex(const int dataBlockName, 
                      const int categoryName)
PURPOSE

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

RECEIVES

dataBlockIndex index of the target data block
categoryIndex index 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
  cifAddRow



Olivera Tosic
6/17/2002