Get(LayoutTableName)

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 8 Functions and Scripts Desk Reference
FileMaker 8 Functions and Scripts Desk Reference
ISBN: 0789735113
EAN: 2147483647
Year: 2004
Pages: 352
Simiral book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net