Index...
Centrallix Documentation
|
report/data
data :: An expression-based data value such as text, a number, or currency
Metadata:
type: | report/data |
visual: | yes |
container: | no |
Overview:
The data component allows the value of an arbitrary expression to be printed. The expression can contain references to report parameters (via the object 'this') or to query fields.
Usage:
This component can be used within an area, section, table row, table column, form, or at the top level within the system/report object. It cannot contain any components.
Properties:
Property | Type | Description |
autonewline |
yes/no |
Whether to automatically emit a newline at the end of text. Defaults to "no". |
value |
expression |
The text to be printed. Can reference report/query objects using :queryname:fieldname syntax. When the expression references queries, it should be enclosed in the runserver() domain-declaration function (see SQL Language / Functions and Operators for more details). |
xpos |
integer |
The horizontal position to offset the text to. See "units" in "system/report". |
ypos |
integer |
The vertical position to offset the text to. See "units" in "system/report". |
Child Properties:
none currently available
Sample Code:
myData "report/data"
{
fontcolor = "#0000ff";
fontsize = 15;
style = "bold";
value = runserver(:myQuery:string1 + ', ' + :myQuery:string2 + '.');
}
Comments...
(none yet)
Add a Comment...
|