Returns a number representing the currently active file view.
Get ( LayoutViewState )
Data type returned
Originated in version
6.0 or earlier
- 0 (zero) if the database file is in Form View
- 1 if the database file is in List View
- 2 if the database file is in Table View
If there are multiple windows open in the current file, each window can have its own layout view state value, but results are returned for only the foreground window.