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.2.3 <strong>Source</strong> of the reportThe data source of the report defines the origin of the data printed in the report. Several data sources areavailable:• Data file: The data to print <strong>com</strong>es from a data file described in the project analysis. This data file canhave any format (HFSQL Classic, Oracle, …).ImportantThe data files and the file items that can be used in the reports created by <strong>Reports</strong> &<strong>Queries</strong> are defined by the developer in the data model editor of WinDev. See “Distributing<strong>Reports</strong> & <strong>Queries</strong>”, page 227 for more details.• Query: The data to print <strong>com</strong>es from a query. This query corresponds to:• a query created and saved in the query editor.• a query created when the report was created.• Table, Organizer or Scheduler control found in a window or in a page: The data to print <strong>com</strong>es from aspecific control found in one of the application windows or in one of the site pages. The records areselected by the control and they are printed by the report.Important<strong>Reports</strong> & <strong>Queries</strong> cannot be used to create reports based on a Table control, an Organizercontrol or a Scheduler control. However, you have the ability to customize the reportsbased on a Table, Organizer or Scheduler control created in the standard report editor(color, fonts, size, linked column, …).• Existing variable: The data to print <strong>com</strong>es from a WLanguage variable of the project or report. Thisvariable can be a simple array, a member of classes, a member of structures or a member of advancedvariables.Important<strong>Reports</strong> & <strong>Queries</strong> cannot be used to create or modify reports based on variables.• Other source: The other data sources can be:• Text file: The data to print is read from a Text file.• Memory zone (not available in WinDev Mobile): The data to print corresponds to the recordsstored in a memory zone.Important<strong>Reports</strong> & <strong>Queries</strong> cannot be used to create reports based on a memory zone. However,you can customize the reports based on a memory zone created in the standard reporteditor (color, font, size, …).• View on a HFSQL Classic data file: The data to print <strong>com</strong>es from a HFSQL view.Important<strong>Reports</strong> & <strong>Queries</strong> cannot be used to create reports based on a HFSQL view. However,you have the ability to customize the reports based on a HFSQL view created in the standardreport editor (color, fonts, size, …).Part 1: Report editor 35

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

Saved successfully!

Ooh no, something went wrong!