0

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?

Berkay
  • 55
  • 1
  • 8

1 Answers1

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