/* $DOC$ $AUTHOR$ Copyright 1999 Luiz Rafael Culik $TEMPLATE$ Command $NAME$ REPORT FORM $CATEGORY$ Command $SUBCATEGORY$ Legacy $ONELINER$ Display a report $SYNTAX$ REPORT FORM [TO PRINTER] [TO FILE ] [] [WHILE ] [FOR ] [PLAIN |HEADING ] [NOEJECT] [SUMMARY] [NOCONSOLE] $ARGUMENTS$ Name of report file Name of alternate file Scope. Logical expression of WHILE condition . Logical expression of FOR condition. Report heading $DESCRIPTION$ This command prints out the report named , which is a standard FRM file. The file extension is not required because `.frm` will be assumed. The `SET PATH TO` and `SET DEFAULT TO` commands affect the search for the file ; unless a drive and path are specified in , REPORT will search the path specified in the `SET PATH` command if it cannot find the report form in the current directory. The output of the report will be offset based on the setting of the `SET MARGIN TO` value. By default, output will go to the console; however, it may be controlled via either the `TO PRINTER` or `TO FILE` clause. If the output is to go to the file, the name of the alternate file is specified in . Unless specified in , the default file extension will be `.txt`. is the scope for this command. Valid scopes include `NEXT ` (where is the number of records), `RECORD ` (a specific record to be displayed), REST (all records from the current record position), and ALL (all records). The default is ALL. Both logical expressions may work in conjunction with one another, where is the logical expression for the FOR condition (for records to be displayed within a given range) and for the WHILE condition (for records to be displayed until the condition fails). If the PLAIN clause is specified, date and page numbers are suppressed. In addition, there is no automatic page breaking, and the report title and column headings appear only once at the top of the form. If the HEADING clause is used, is displayed on the first title of each report page. The value of is evaluated only once before executing the report; varying the values of is not allowed. The PLAIN clause will take precedence over the HEADING clause if both are included. If the NOEJECT clause is used, the initial page eject on the report will not be issued when the output clause `TO PRINTER` is specified. Otherwise, this clause has no effect. If the SUMMARY Clause is specified, the report will contain only groups, subgroups, and grand total information. The detailed title item information will be ignored. If the NOCONSOLE clause is specified, output to the console will be turned off while this command is being executed. $EXAMPLES$ USE test NEW REPORT FORM test.frm $STATUS$ R $COMPLIANCE$ C $PLATFORMS$ All $FILES$ Library is core $SEEALSO$ LABEL FORM $END$ */