Syntax: TableIDs ( fileName )
fileNameA string or text expression that represents the name of an open file.
Data type returned: Text
Returns a carriage returndelimited list of table occurrence IDs from the specified file.
Note that TableIDs() returns the IDs of table occurrences from the Relationships Graph, not the actual data tables. A database table may appear in the Relationships Graph more than once.
A unique TableID is assigned by FileMaker whenever a table occurrence is added to the Relationships Graph. The order of the IDs in the list is based on the alphabetic ordering of the table occurrence names themselves.
TableIDs (Get (FileName))
Returns a list of table occurrence IDs for the current file that might look like this: