The name of a saved report.
Optional. Default = ".T." (All records). A character filter expression that evaluates to a logical value and selects records from the table.
Optional. Default = record order. A character order expression that sorts selected records.
Logical. Optional. Default = .F. .T. = This means that the user does not have to close the Print Preview window before he can move to another window in Alpha Anywhere. .F. = The preview window opens as a modal dialog box. This means that the user must first close the Print Preview window before he can move to another window in Alpha Anywhere.
Logical. Optional. Default = .T. .T. = This means that any script that calls the PREVIEW_REPORT() method will pause until the Print Preview window is closed. However, the preview window itself is not a modal dialog box. The user is free to select other windows in Alpha Anywhere. .F. = The script does not pause until the Print Preview window is closed.
PREVIEW_REPORT() creates the selected report and then displays a preview of the report.
PREVIEW_REPORT("Invoice", "Invoice_Number > " + quote("000001"), "Date", .T., .T.)
Desktop applications only.