static void recordCountGeneric( Args _args)
{
int64 getRecordCount( str _tname)
{
common common;
SysDictTable dictTable = new SysDictTable( tableName2id( _tname));
;
common = dictTable.makeRecor d();
select count(RecId) from common;
return common.RecId;
}
;
info(strfmt("Number of records in %1 is %2", "CustTable", getRecordCount("CustTable")));
}
{
int64 getRecordCount( str _tname)
{
common common;
SysDictTable dictTable = new SysDictTable( tableName2id( _tname));
;
common = dictTable.makeRecor d();
select count(RecId) from common;
return common.RecId;
}
;
info(strfmt("Number of records in %1 is %2", "CustTable", getRecordCount("CustTable")));
}
No comments:
Post a Comment