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.

• to list the stock price per day, simply sort the stocks by date and create a break on the date.Adding a break automatically generates a Break Header block and a Break Footer block. These blocks areused to:• display the content of the break item (in the Break header block).• perform calculations on the records found in the break (in the Break footer block).See “Report blocks”, page 62 for more details.The report editor proposes two types of breaks:• automatic break (the most <strong>com</strong>mon one). The break is performed on an item belonging to the data sourceof the report.• programmed break. The break is defined by programming in the "Break?" process of the Break Headerblock. See “Break process”, page 138 for more details.See the online help (keyword: "Break, Report break") for more details.2.2.5 Performing calculations in a reportSeveral calculations can be performed on the numeric data found in a report. For example, in a report usedto list the orders per customer, you can calculate and display the average value of the customer orders.Note: The calculations that must be performed in a report are selected when the report is created. However,new calculations can be added to the created report via the calculated controls. See “Calculated control”,page 72 for more details.Part 1: Report editor 37

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

Saved successfully!

Ooh no, something went wrong!