Category: Get

Syntax: Get ( LayoutNumber )

Parameters: None

Data type returned: Number


Returns the number of the layout currently displayed in the active window. The order of layouts can be set in Layout mode by going to the Layouts menu and selecting the Set Layout Order menu item.

Get (LayoutNumber) can be used to keep track of the last layout a user visited. The following script takes a user from one layout to another, allows the user to complete other tasks, and then returns the user to the original layout:

 Set Field [temp; Get(LayoutNumber)]
 Go to Layout ["Other Layout"]
 [perform script, process, etc]
 Go to Layout [temp]

Because the layout you navigate to might be associated with a different table than the calling layout, the temp field used to store the layout number should be set to have global storage.




Get (LayoutNumber)

Returns 6 when the sixth layout on the Set Layout Order list is active.

: 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

FileMaker 8 Functions and Scripts Desk Reference
FileMaker 8 Functions and Scripts Desk Reference
ISBN: 0789735113
EAN: 2147483647
Year: 2004
Pages: 352

Similar book on Amazon © 2008-2020.
If you may any questions please contact us: