The Quick Report editor lets you create reports in the Design or Application environments. You can also insert a Quick Report area into a form via a Report type plug-in area (see LISTBOX SET TABLE SOURCE).
To design a quick report:
- Choose Quick Report... from the Tools menu or click on the Tools>Quick Report button in the toolbar.
4D displays the Quick Report editor. If a previous report has been defined, it appears in the window. To erase the contents of the window, choose New from the File menu or click the New icon in the standard toolbar of the editor to begin a new Quick Report design. - Choose the type of report to be generated by clicking on either the List or Cross table button, located at the bottom left corner of the Quick Report editor.
The List type is generally selected by default. The Quick Report area is modified according to the type selected. - Begin defining the contents of your report.
You can save a quick report design as a file that you can open from the Quick Report editor. The quick report design includes all of your specifications for the report, but not the data. By saving report designs, you can maintain a library of quick report designs that you can use according to your needs.
When the Quick Report editor is open, you can load a saved design and use it to print a new report. You can use the same quick report design repeatedly to print different selections of records.
Note: The last design you built is displayed the next time you open the Quick Report editor but only during the same work-session.
To save a quick report design:
- Choose Save as... from the File menu.
OR
Click the Save as... icon in the file management toolbar.
4D displays a create-file dialog box in which you can name the quick report design. Quick report files in 4D are denoted by the file extension “.4QR”. - Enter a filename for the quick report and click OK.
4D saves the report as a file that you can open with the Quick Report editor. You can save the file on your hard disk. If you modify the parameters of the report subsequently and want to save them again, you just need to choose the Save command in the File menu. The new file will replace the previous one on the disk, without the standard save file dialog box appearing.
To load a report design:
- Choose Open... from the File menu.
OR
Click the Open... icon in the file management toolbar.
4D displays an open-file dialog box displaying a list of available quick report designs. - Double-click a filename or select a filename from the list and click OK.
4D replaces the current design with the design you opened.