Get(LayoutNumber)

 <  Day Day Up  >  

Get(LayoutNumber)

Category: Get

Syntax: Get ( LayoutNumber )

Parameters: none

Description: Returns the number of the layout currently displayed in the active window. The order of layouts can be set in the Layouts, Set Layout Order menu.

Examples:

 

 Get (LayoutNumber) 

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

Comments:

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.

 <  Day Day Up  >  


QUE CORPORATION - Using Filemaker pro X
QUE CORPORATION - Using Filemaker pro X
ISBN: N/A
EAN: N/A
Year: 2003
Pages: 494

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