Reference > Script steps reference > Windows script steps > View As
View As
Displays data in the specified format.
See also 
View As [View as Form/View as List/View as Table/Cycle]
View as Form tells FileMaker Pro to display records page by page in the format determined by the database designer.
View as List tells FileMaker Pro to display records as records in a list, so they can be browsed without clicking the backward and forward buttons in the status toolbar.
View as Table tells FileMaker Pro to display the records on screen in a grid, so that many fields and records may be viewed at one time in a format similar to a spreadsheet.
Cycle switches from the current view to the next view.
Where the script step runs 
FileMaker Pro 
FileMaker Server 
FileMaker Go 
Custom Web Publishing 
FileMaker WebDirect 
Runtime solution 
Originated in 
FileMaker Pro 6.0 or earlier
You can choose View as Form, View as List, View as Table, or you can choose Cycle to switch from the current format to the next format.
Note  FileMaker WebDirect does not support the View as Table option.
Example 1 
Imports records, sorts, and switches to Table View.
Import Records [With dialog: On]
Sort Records [Restore; With dialog: Off]
View As [View as Table]
Example 2 
Performs a find, then changes view depending on the number of records in the found set.
Enter Find Mode [Pause: On]
If [Get (FoundCount) = 1]
View As [View as Form]
Else If [Get ( FoundCount ) > 1]
View As [View as List]
End If
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)