DATA
=mandatory in Column A (FORMS)
Parameter | Mandatory/Optional | Value (example) | Comment | |
---|---|---|---|---|
FORMS | REPORT | |||
DATA | n/a | n/a | Define the data rows in the form; in other words, which rows are entry rows for registration. Must occur at least once in column A in a FORM template. |
DATA is a FORM specific parameter, which is mandatory in column A in the template. This parameter defines the actual input data row(s) in the form and can occur several times in column A, depending on the template design. The DATA parameter should not be used in report templates.
All cells with DATA in column A and CVAL in row 1 will be:
- Open for entry when the form is generate. All other cells will be locked for editing (except data attribute columns which also will be open for entry).
- Updated in the database (those data cells with values).
The defined cell comments #ENTRY or #NOENTRY can be used to override the default state of open and locked cells for any particular cell.
The DATA parameter should be defined for each data input row in the form and can be stated once, or several times, in the template. It can also be stated alone, or in combination with the EXPAND parameter. If the row should NOT be expanded (one static row), then only DATA should be defined in column A. If the row should be repeated for each SEARCHVAL, then DATA must be stated in combination with EXPAND.