FMP Version: FileMaker 7 and higher.
Returns A Number Result
As I'm sure you probably know, a FileMaker layout can be viewed as a form (one record at a time), as a list (as a form but with all records in the found set after each other) or as a table (viewed with rows and columns like a spreadsheet).
This function will return the current view state for the layout within the foreground window. It will return a zero (0) for form view, a one (1) for list view and a two (2) for table view. This function can be helpful when you are logging information about a users database session at a point in time or if a script requires a particular mode to operate. For example, table view will not show tab information, buttons or any number of other layout objects.
More info about the author and FileMaker in general, contact me at email@example.com.
© 2007 - Dwayne Wright - dwaynewright.com
The material on this document is offered AS IS. There is NO REPRESENTATION OR WARRANTY, expressed or implied, nor does any other contributor to this document. WARRANTIES OF MERCHANT ABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE EXPRESSLY DISCLAIMED. Consequential and incidental damages are expressly excluded. FileMaker Pro is the registered trademark of FileMaker Inc.