The ReportViewer startup switch defines how the Report Viewer displays reports.
ReportViewer accepts the following values:
0 - The Report Viewer displays only 1 report at a time.
1 - The Report Viewer displays multiple reports in multiple viewer windows.
2 - The Report Viewer display remains behind the Keystroke window until [Esc] is pressed to allow the selection of multiple records when the Print-Individual report setting is enabled. When record selection is complete and [Esc] is pressed, the Report Viewer is displayed.
4 - The Report Viewer display remains behind the Keystroke window after printing a Report Cue.
8 - The Report Viewer does not automatically display the minimized report viewer window (when WS INI file setting ReportViewerWindowState=1 is used).
16 - All new Report Viewers are placed on the initial Anchor Point (the upper-left corner of the Keystroke program window).
32 - The Anchor Point is changed only when the newest Report Viewer is moved.
50 - The Anchor Point is changed only when the newest Report Viewer is closed.
Example: Keystroke.exe ReportViewer=2
Note: These settings can be combined by adding the values together. Example: ReportViewer=10 (use both ReportViewer=2 and ReportViewer=8) Report Viewer is displayed behind Keystroke and Report Viewer does not automatically display the minimized report(s).
Note: The Report Viewer bases its display format on the Printer selected in the report options when the report is run. If that printer is not found, its display format is based on Printer #1. The .WPD file associated with the selected printer is used for the font, format, top margin, etc. print properties.
Note: The forward slash (/) is not used with this start up switch.
See: INIFILE setting ReportViewer=
Customizing the Report Viewer Icons
Customizing the Report Viewer format
Report Viewer Navigation