Get(LayoutName)Returns the name of the layout currently displayed.If there are multiple windows open in the current database file, each window can have its own layout name value, but results are returned for only the foreground window.
• You can use the Get(LayoutNumber) function as an alternative to Get(LayoutName) if there are multiple layouts with the same name.
• Returns Product List when the Product List layout is displayed.Returns Customer Invoice when the Customer Invoice layout is displayed.