PRINT (Short Name: PRI)
Top  Previous  Next

Use the PRINT command to send a report to the screen, printer, or file.

PRINT

Options

rptname

Specifies the name of the report you want to print.

ARRANGE tblname BY collist
Sorts the rows displayed by a report's lower-level tables. Each lower-level table in the report that you want to sort requires its own ARRANGE clause. Now you can specify up to twenty-five tables to ARRANGE and up to five columns in each table on which R:BASE will sort.

WHERE clause

Limits rows of data. For more information, see the "WHERE" entry.

ORDER BY clause

Sorts rows of data. For more information, see the "ORDER BY" entry.

OPTION
specifies output options of the report along with additional parameters for each output such as:

·SCREEN  
·PRINTER  
·BMP  
·EMF  
·ETXT (Report Emulation Text)  
·GIF  
·HTML  
·JPG  
·PDF  
·RTF  
·TIFF  
·TXT  
·WMF  
·XHTML  
·XLS  

About the PRINT Command

Working with Breakpoints
When a report has breakpoints, R:BASE automatically sorts by the defined breakpoint columns. You can sort additional columns other than breakpoint columns if the breakpoint columns are listed in the ORDER BY clause first. If an ORDER BY clause that overrides the breakpoint sort is included in the PRINT command, the report might not produce the results defined by the breakpoints.