I need to do a work about virtual companies. So I'm struggling with table collections. Is there a way to get a list of tables in a table collection?
Asked
Active
Viewed 1,152 times
1 Answers
1
You can get the names of the tables in a table collection using SysDictTableCollection like this :
SysDictTableCollection tableCollection;
TableName tableName;
;
//replace Batch with your table collection name
tableCollection = new SysDictTableCollection("Batch");
tableName = tableCollection.nextTable();
while (tableName)
{
info(tableName);
tableName = tableCollection.nextTable();
}

Pierre
- 488
- 4
- 20