< 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 > |