MMQuery

Query your databases without relationships.

<- Back to MMQuery function list

MMQuery_RemoveTable

Description

This function Removes the Base Table corresponding to the Table Occurrence Name you specify. The first parameter is the Name of a Table Occurrence for the Table to Remove.

Return Type
Text
Format
MMQuery_RemoveTable ( TOName )
Required Parameters
  • TOName

    The Name of the Table Occurrence corresponding to the Base Table you want to Remove. 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_TOExists
Examples

Example 1

Code:

MMQuery_RemoveTable("MyOldTable")

Result:

Removes the "MyOldTable" Table from the current Database File.

Example 2

Code:

MMQuery_RemoveTable("AnotherFile.MyOldTable")

Result:

In FileMaker Pro 11 and above, use this form to Remove a Base Table with the Table Occurrence specified in a separate, open Database file.