13.07.2015 Views

Reports & Queries - Source : www.pcsoft-windev-webdev.com

Reports & Queries - Source : www.pcsoft-windev-webdev.com

Reports & Queries - Source : www.pcsoft-windev-webdev.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.4.1 Running the testTo run the test of the current report:1. Click among the quick access buttons of the ribbon (F9). A screen allows you to choose the printmode of the report.The available options are:• Print preview: used to preview the report.• Printer: the report is printed on the default printer.• HTML file: the report is saved in an HTML file and displayed in the Internet browser installed on the<strong>com</strong>puter.• RTF file: the report is saved in a RTF file and displayed in a text editor (Word for example).• PDF file: the report is saved in a PDF file and displayed in a PDF viewer (Adobe Acrobat for example).• Generic PDF file: the report is saved in a generic PDF file (independent of the printer) and displayed ina PDF viewer (Acrobat Reader for example).See “Printing a report”, page 40 for more details.2. Choose the print mode and validate. If your report is not saved, WinDev, WinDev Mobile or WebDevautomatically proposes to save it under the name given in the wizard for report creation.3. Specify the additional information if necessary:•for a report with bounds, a window allows you to enter the report bounds. See “Bounded report”,page 45 for more details.•if the report is based on a query with parameters, a window allows you to enter the parameters of thequery. See “Report based on a query with parameters”, page 46 for more details.•If the report expects parameters, give a default value to the parameters in the declaration of parameters.See “Creating a report with parameters”, page 139 for more details.2.4.2 Stopping the testSeveral methods can be used to stop the test:• 1st method: Close the preview of the report whose test is currently run. The current editor at the timethe test was started is displayed.• 2nd method: Go back to the editor via the taskbar (or press [Alt]+[Tab]) and confirm that the test mustbe stopped. The current editor at the time the test was started is displayed.• 3rd method: Go back to the editor via the task bar (or press [Alt]+[Tab]) and click ("End the test")found in the "Debugger" pane.Part 1: Report editor 39

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!