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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

A report based on a Scheduler control can be created from the report editor: to do so, select a Schedulerreport based on a Scheduler control. When creating the report, you have the ability to specify the number ofdays to display as well as the display mode of resources (in row or in column).Important<strong>Reports</strong> & <strong>Queries</strong> cannot be used to create reports based on an Organizer control.However, you have the ability to customize the reports based on an Organizer controlcreated in the standard report editor (color, fonts, size, linked column, …).When the report based on a Scheduler control is created, you can:• modify the data source of the report ("Data" tab of the report description).• modify the characteristics of the schedule ("General" tab of the schedule description).Notes:• Only a Scheduler report can be created on a Scheduler control.• This type of report is available in WinDev only.3.9.2 CharacteristicsCorrespondenceEach row and each column found in the Scheduler control is displayed in the Scheduler report.Running the test of a report based on a Scheduler controlThe test of a report based on a Scheduler control cannot be run from the report editor because the windowcontaining the Scheduler control must be opened. To run the test of a report based on a Scheduler control,you must:• Create (if necessary) a button in the window of the Scheduler control. This button is used to print the reportbased on the Scheduler control (iPrintReport).Case of internal windows: If the Scheduler control is found in an internal window, the button should be createdin the internal window (and not in the host window).• Run the test of the window containing the Scheduler control then run the test of the report (via the button).Case of internal windows: the test must be run from the window that hosts the internal window.3.10 Report based on a text file3.10.1 OverviewIn a report based on a text file, the information to print is read from a file in text format and directly assignedto the report controls.This type of report is convenient when the information to print was imported into a file in text format (dataimported from Excel for example).To create a report based on a text file, you can:• use the wizard for report creation on a text file. The report editor automatically creates the report andreads the records. No programming is required.• program the reading of records. The wizard for report creation greatly simplifies the creation of reports.However, reading records in a text file requires full programming in WLanguage.See the online help (keyword: "Text file, Report based on a text file") for more details.Part 1: Report editor 51

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

Saved successfully!

Ooh no, something went wrong!