setreportcolumns
COLUMNS
The setreportcolumns statement allows a procedure to control the number of columns of a report, and the direction (across or down).
Parameters
This statement has one parameter:
columns – is the number of columns in the report. This should be a text value, for example “2”, not 2. Use “0” to print as many columns as will fit on the page (the automatic option). The report normally defaults to printing down, but you may follow the number with either down or across, for example “3 across” or “2 down”. You may abbreviate down with d and across with a, for example “3a” or “2d”.
Description
This statement changes the report preferences for the current form. The statement can change the number and direction of printed columns. The example shows four different options for report columns.
setreportcolumns "2 Down"
setreportcolumns "3 Across"
setreportcolumns "0" /* defaults to down */
setreportcolumns "3a" /* a=across */
See Also
- Automatic Mailing Label Construction -- creates a mailing label.
- info("pagecount") -- calculates the total number of pages that will be printed.
- info("pagenumber") -- returns the current report page number.
- info("printer") -- returns the current default printer.
- info("printers") -- returns a list of all available printers.
- info("printsequence") -- returns the record sequence number of the record being printed.
- pagesetup -- displays the page setup dialog.
- print -- prints the database.
- printonemultiple -- prints a form over and over again without advancing from record to record. Instead of advancing from record to record, a variable is incremented each time the form is printed. This statement is designed for printing calendars or thumbnails.
- printonerecord -- prints the the currently active record.
- printpdf -- prints the current database to a PDF file.
- printpreview -- previews what printing the current window will look like.
- printpreviewonerecord -- previews what printing the current record will look like.
- printtopdf -- prints the current database to a PDF file.
- printusingform -- allows the current database to be printed using a different form than the one currently being displayed.
- Report Tile Object -- component for assembling a custom report.
History
10.0 | No Change | Carried over from Panorama 6.0. |