Product Logo

CNS Query

Query your databases without relationships.

Script Steps

CNS Query Get Table Occurrence IDs

NameCNS Query Get Table Occurrence IDs

Returns either the ID of a specific table occurrence or a list of “TOName=TOID” pairs for all table occurrences in the database file.

FormatCNS Query Get Table Occurrence IDs ( Select entire contents ; Target ; File Name ; Table Occurrence Name )
Optional Parameters
Select entire contents

If checked, the target field or variable will be replaced by the result of this script step.


Specify the field or variable to receive the file path.

File Name

The database file name.

Table Occurrence Name

If you only want the ID of one table occurrence, specify its table occurrence here. [Leave off or specify “” to return the IDs of all Table Occurrences.]