SynopsisGet the number of rows in the table. Prototype#include "emfdb.h" int dbGetTableNrow(int did, char_t *table); Parameters
DescriptionThe number of usable rows in the table may be less than the actual number of rows in the table, since only the contents of deleted rows are deleted by dbDeleteRow, not the row itself. Return ValuedbGetTableNrow returns the number of rows in the table if successful, or -1 on error. ExamplenumRows = dbGetTableNrow(0, T("USERS")); See AlsodbSetTableNRow(), dbDeleteRow() |