Category: Get
Syntax: Get ( LayoutTableName ) |
Parameters: None
Data type returned: Text
Description:
Returns the name of the table occurrence (not the source table) from which the current layout shows records.
Because there is no way of retrieving the name of the source table with which a layout is associated, consider prefixing the names of table occurrences with an abbreviation that represents the source table. For instance, you might name a table occurrence INV_CustomerInvoices. You can then use text parsing functions to retrieve the source table name from the results returned by the Get (LayoutTableName) function.
Note that when no windows are active or visible, an empty string is returned.
Examples:
Function |
Results |
---|---|
Get(LayoutTableName) |
Returns INV_Invoices when the current layout is attached to the table occurrence named INV_Invoices. |
Returns EMP_Employees when the current layout is attached to the table occurrence named EMP_Employees. |
: FileMaker Specifications
FileMaker 8 Product Line
Specifications and Storage Limits
Field Types and Import/Export Formats
: Calculation Functions
Working with Calculations Primer
Calculation Signatures
Calculation Functions
: Custom Functions
Custom Functions Primer
Useful Custom Functions
: Script Steps
Scripting Primer
Script Step Reference
: Quick Reference
FileMaker Error Codes
FileMaker Keyboard Shortcuts
FileMaker Network Ports
FileMaker Server Command Line Reference
FileMaker XML Reference
: Other Resources
Where to Go for More Information