as_DBMGetNumRecordsTable

Description
ƯÁ¤ Å×ÀÌºí¿¡ ¼ÓÇÑ ÃÑ ·¹ÄÚµå °³¼ö¸¦ ±¸ÇÑ´Ù.

Syntax
DBMErr as_DBMGetNumRecordsTable(TableId tableId, P_S32 numRecs);

Parameters
tableId Å×À̺íÀÇ ID
numRecs ÃÑ ·¹ÄÚµå °³¼ö

Returns
value¼³¸í
DBM_OK¼º°øÀûÀ¸·Î ¼öÇàµÈ °æ¿ì
DBM_INVALID_TABLE_IDÁÖ¾îÁø Å×À̺í id¸¦ °®´Â Å×À̺íÀÌ Á¸ÀçÇÏÁö ¾Ê´Â °æ¿ì
DBM_DB_NOT_INITEDµ¥ÀÌŸº£À̽º°¡ ÃʱâÈ­µÇ¾î ÀÖÁö ¾ÊÀº °æ¿ì

Comments
Delete Ç÷¡±×°¡ DBM_ONÀÎ ·¹Äڵ带 Á¦¿ÜÇÑ, ³ª¸ÓÁö ·¹ÄÚµåµéÀÇ ÃÑ °³¼ö¸¦ ±¸ÇÑ´Ù.

Example
#include "dbm.h"
void main(void)
{
  S32 numRecs;
  DBMErr ret;
  TableId tableId = 1;

  ret = as_DBMGetNumRecordsTable( tableId, &numRecs);
  if (ret == DBM_OK) //Success!
  else // error handling
}