TBQUERY—obtain table information

The TBQUERY service returns information about a specified table, which must have been opened (TBOPEN) by the current user before invoking this service. This information can be obtained:

All the parameters except for table-name are optional. If all of the optional parameters are omitted, TBQUERY simply validates the existence of an open table.