DtvLong dal_mas_siz_fld (idf, len_vis, wid_vis, len_vir, wid_vir)

Changes the size of the field to the row length and column width specified.

Input Parameters Significance
DtvLong idf field Id
DtvLong len_vis visible row length
DtvLong wid_vis visible column width
DtvLong len_vir virtual row length [0 = visible row length]
DtvLong wid_vir virtual column width [0 = visible column width]

Output Parameters Significance
no -

Return Code Significance
0 no error
1 visible length- or column value smaller than 1
2 no change

The virtual row length of all fields of a mask must be always identical and correspond to the record length. If fields are defined as multi-line fields (visible row length bigger > 1 < ), the virtual row length is calculated as the product of the visible row length and the number of records.

The dal_mas_siz_fld function automatically limits the total field length of all non-BLOB fields to 255 characters. So please use the dal_mas_set_typ_fld function to make sure the field type is known before trying to change the field dimension.