...
The tree on the left-hand side of the screen shows the structure explained in the previous paragraph with the tab for "Water/Waste water", the group for "Waste water - quantity", the element for "Basin/utility sink" and two fields, one numerical and one text. At the top right, you can see the properties of the tab/group/element/field you have selected in the tree. Below is a preview of the form. This can be re-drawn after you have edited by clicking on "Refresh".
o
Add or edit tabs
If you want to add a new tab, right-click at the top of the tree (in this case RDS) then click on "New". The following properties are linked to tabs:
Field | Explanation |
Position | The reciprocal position of this tab in relation to the other tabs |
Name | The text to be displayed on the tab and in the report |
XSL report template | The appearance the group is to have in PDF reports This is mainly managed at group level, see below, but if you have a two-column tab, you can choose "two-column-flag" here to have the column appearance shown on the screen. If you use two columns for the group below, the different fields will be shown by group from left to right and downwards. This may result in a slightly different sequence than on the screen. |
Add or edit groups
Click on the tab where you want to add a new group and select "New". The following properties are linked to groups:
...
Type | Explanation |
group | Default group with background text for element, then field values for each field on a line. If the fields have a name which is marked for display in front of/behind the field, this will also be shown. Different types of fields (text, figures, logical) have different fixed widths. |
document-group | Provides a "document style" for the group in certain reports which have been adapted as such, i.e. that group titles and element titles are shown as numbered headings and contents are formatted as in a document. |
description-group | Used by groups which comprise one large multi-line text field. The name of the group will be displayed in bold above the text in the fields. |
two-column | The elements are in two columns. |
three-column | The elements are in three columns. Typical for elements where there is only one field. |
dyn-field-table | Creates a table of the fields in the elements in this group. Elements are rows and fields are columns. Must only be used for groups where all elements have an equal number of fields. Will make use of the first element to deduce the number of columns in the table and any headings in the columns by looking at the field names. All subsequent elements must be equal! Will distribute positions regularly among the fields. |
value-spec | Group for elements of e.g. the type for "Yes/No and comment" fields. Displayed with headings "Value specification" and any group heading if set. If there are more than two fields in the element, they will be displayed continuously after the second field. |
value-spec-no-header | Same as above but without heading for several subsequent groups of same type. |
value-spec-two-column | Same as value-spec but in two columns. |
value-spec-two-column-no-header | Same as above but without headings. |
yes-no-spec-min-max | For elements which are of the form "Yes/No, specify, min/max". |
percent area | Template adapted to finishes %, m2. |
percent-area-no-header | Same as above but without heading for use for several subsequent groups of same type. |
percent-meter-no-color | % m column set-up for finishes. |
Add or edit elements
Click on the group where you want to add a new element and select "New". You can also choose one of the predefined elements/fields from the right-click menu:
...
You can move elements between groups by using the "drag and drop" method in the tree. You can also change the sequence in this way (position).
Add or edit fields
Click on the group where you want to add a new field and select "New". Fields may be different types and also have different options, according to type. The following fields are available:
...
Field type | Field | Explanation |
Multi-line text field | Display name (label) above | Specifies whether the name of the element (background text) shall be displayed above the field instead of the background text being displayed on the side and the field afterwards. |
Style/look | States how the size (width/height) is specified. Size of the field. This can be specified as number of pixels wide, number of elements high or % width, % height where % is a figure from 1 - 100 stating the size in percentage the field shall cover of the available space in the window. | |
Button | Button text | NOT IN USE |
Sym name | Name of the method in the window which is called when you click on the button. | |
Type | Button style | |
Logical field | Underline | Specifies whether the background text shall be underlined. |
Numerical field | Format | Specifies the format of the numerical field. This can be specified in two ways:
|
Radio buttons/Combo-box | Style/look | Specifies the appearance of multi-choice fields
|
Elements | This is where you specify the options from which the user can choose. One per line. | |
Remove option button | For radio buttons, there is a button which you can use to reset all selections, i.e. remove all choices. For combo-boxes, there is a blank option in the drop-down menu, unless this is editable, where you can remove the selection by removing the actual text. | |
Button text | If "Remove selected button" is flagged and it is a radio box, you can specify the text for the button. If you do not specify text here, the default is "Remove selected". | |
Time/date selector | The number of days to reset | How many days before current date to be preselected. |
Read-only text | Centre text | NOT IN USE |
Underline | Whether the text is to be underlined or not | |
Text value | Text to be displayed |
Saving and previewing
Any entries you type into the properties are automatically saved locally when you change group/field/tab/element. If required, you can click on the "Save" button at the bottom of the window. However, this is not necessary.
...
To view the changes in the window, click on "Refresh" or press F5. In order to view your changes, the values in the field must be saved locally, but not necessarily to the database.
Deleting fields, elements, groups and tabs
If you want to delete a field, element, group or tab, select it and choose "Delete". Click Save to database as soon as you have deleted something and every time you choose Delete. It is often necessary to stop the log for your current form before you can delete fields. To do this, go to Administration->Main project/project->Main project->Logs. If you receive an error message when deleting, this is most probably the cause.
...