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.

Transforming a "Static" control into an "RTF" controlTo display text in RTF format in a "Static" control, check "RTF format" in the "GUI" tab of the control description("Description" from the popup menu).The "Static" control be<strong>com</strong>es an "RTF" control. All the characteristics of the "Static" control are kept.See “RTF control”, page 74 for more details.6.1.2 Item controlThe "Item" control is used to edit the content of an item found in a data file or the content of a variable. Theitem can be:• an item found in the data source of the report (data file, query, variable, …).• a data file item accessible by a link.• a variable (global to the project or the report).This control can also be assigned by programming.Examples:File used to list the characteristics of the customersControl linked to adata file itemTo define the item linked to the "Item" control:1. Display the "Link" tab in the description window of the control ("Description" from the popup menu).2. To link the control to an item or a variable that belongs to the data source of the report, select this itemor variable directly in the "Linked item" list box.3. To link the control to an item that does not belong to the data source of the report, select the "multifile"option then select the item linked to the current control.Specific "Item" control: "Currency + Euro"If the "Item" control is a "Currency + Euro" control, it can be used to manage:•the stored currency: currency of the data in the report data source. If the control is handled by programming,the currency used for the value will be the stored currency.•the displayed currency: currency used to display the value when printing the report. This currency candiffer from the stored currency. The conversion is automatically performed.• the dual display: ability to link two "Currency + Euro" controls between themselves. In this case, thereport editor distinguishes between two types of controls:• the base control: this control contains the value found in the data source of the report.• the tracker control: this control is used to display the value of the base control in the requestedcurrency.See the online help (keyword: "Currency + Euro") for more details.6.1.3 Calculated controlThe "Calculated" control is used to perform calculations in a report. These calculations can be made:• on an item or a variable of the data source,• on a control found in the report,•by programming.72Part 1: Report editor

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

Saved successfully!

Ooh no, something went wrong!