DtvLong dal_mas_set_fld (idf, row, col)

Sets the passed field into active state and positions the write cursor to the specified row and column position.

Input Parameters Significance
DtvLong idf field Id
DtvLong row cursor row position [0 = current position]
DtvLong col cursor column position [0 = current position]

Output Parameters Significance
no -

Return Code Significance
0 no error
1 no mask active
2 field not in active mask

Before you can activate a field you have to activate the mask and the record at the desired row position, i.e. put it in mask edit state.

The function does not execute any field trigger.

In case of single-line fields the cursor row position equals the row position of the record, while for multi-line fields it is the product of the visible row length and the number of records.

When zero values are specified for the cursor row and column position, the previously set position values remain unchanged.

DataView automatically updates the help text of the field.