|
Variables interface |
Top Previous Next |
|
At run time each report present a form to enter variables and run the report. To define variables, a visual form editor can be used. The form can be filled in at runtime. - Textbox - Combobox - Listbox - Checkbox - Label
To use the available elements drag and drop the object on grid shape. A parameters list will be visible on the right side of the page.
Textbox
Set the variable name and type.
ComboBox
Set the database, table and fields to be used. The last field in the list will be used as the value of the control. Widths - set the width of each field into the combobox (0 - to hide the key value).
ListBox
Same as the "combobox" control, the difference is that first field gives the value of the control.
Both, comobox and listbox, do not work properly with integer keys, and therefore it is recommended to avoid using integer fields as key.
All variables declared with textbox, comobox and listbox can be used later in SQL queries.
Label
Set the label caption.
|