MMQuery

Query your databases without relationships.

<- Back to MMQuery function list

MMQuery_TOExists

Description

This function checks for the Existence of a Table Occurrence in the current Database File. The parameter is the Name of the Table Occurrence to look for.

Return Type
Number (1=True, 0=False)
Format
MMQuery_TOExists ( TOName )
Required Parameters
  • TOName

    The Name of the Table Occurrence to search for. In FileMaker Pro 11 and above, you can optionally specify the Database Filename (without the ".fp7" extension) containing the TO in the format "FileName.TOName".

Related Items
MMQuery_AddTable, MMQuery_GetBaseTableNames, MMQuery_GetTOIDs, MMQuery_GetTONames, MMQuery_RemoveTable
Examples

Example 1

Code:

MMQuery_TableExists("MyTable")

Result:

Returns 1 when a Table Named "MyTable" exists in the current Database File.

Example 2

Code:

MMQuery_TOExists("AnotherFile.MyTable")

Result:

In FileMaker Pro 11 and above, use this form to check for a Table Occurrence in a separate, open Database file.