Product Documentation

FairCom ODK Driver

Previous Topic

Next Topic

RecordCount

Queries the Database for the number of records in a given table. For example, it can return the number of parts in storage.

void FCODKDriver::RecordCount(const char *tableName, unsigned long long *recordCount)

Requires the Following Information:

  • IO Channel Number - See Read Record.
  • tableName [IN] - Table Name. See TableCreate.

Result Values:

  • recordCount [OUT] - Record Count. Places the count of records into recordCount.

    recordCount is an unsigned eight-byte integer.

    If no records exist, Record Count is zero, which is NULL.

Expected Errors:

  • None.

When an Error Occurs:

  • Driver sets Record Count to NULL.

TOCIndex