Morten S.
2010-08-24 08:44:03 UTC
Hi everybody,
I have a table name as a string (not a buffer) and I want to know if that
table has records or not.
I don't want to use the recordCount()-method like this:
dictTable = new SysdictTable(tablename2id("custTable"));
recordCount = dictTable.recordCount();
because the recordCount takes a long time.
Can someone please tell me how to make a "select firstonly" just to find out
if there are any records in the table I have in my string?
I have a table name as a string (not a buffer) and I want to know if that
table has records or not.
I don't want to use the recordCount()-method like this:
dictTable = new SysdictTable(tablename2id("custTable"));
recordCount = dictTable.recordCount();
because the recordCount takes a long time.
Can someone please tell me how to make a "select firstonly" just to find out
if there are any records in the table I have in my string?