When you run REPSETUP to create a Report Writer program you have two choices:
For simple reports listing fields from one or more tables, use option 2 - Automatic program generation on the Edit menu of the initial REPSETUP screen
To create a new report or edit an existing 1 use option 1 - Program editing. You can copy from an existing report using option 7 once you have selected a name for your new report. REPSETUP will not allow you to create a report which has the same name as an existing mapset. If you do do this the Creaet option will be greyed out when you have entered the report name.
The stages involved in creating a report are as follows:
Output devices and format
Each of these Program editing options is briefly described in the following sections
Select the type of program to be created (REPORT, EXPORT, DELETE), choose the lowest table to be used for the program, fast pass table and sequencing table.
Add the report heading you want printed at the top of each page and specify the report width in characters.
Select the fields to be processed by the program, including fields in the joined tables, fields that are calculated from formulas and fields that are entered by the user at run-time. A number of options are available to process fields, you may:
Conditionally total the field
Specify the selection criteria that must be met for records to be included when reporting, exporting or deleting.
Specify a condition for record selection on the fast pass table if one is chosen.
Select the output device used by the program. Various print formats can be selected for different field types. You can: