Input Parameters | Significance |
DtvLong idm | mask Id |
DtvLong idf | field Id |
DtvLong row | row position of the field in the mask ( for forms only) |
DtvLong col | column position of the field in the mask |
Output Parameters | Significance |
no | - |
Return Code | Significance |
0 | no error |
1 | row or column value smaller than 1 |
2 | no change |
-1 | field does not exist in the mask |
You do not have to specify a new column position in lists exactly. DataView automatically assures the correct position of the field taking the column positions and column lengths of any existing fields into account.
If, because of a new column position, the sequence of fields in the field stack of a list is changes, the navigation sequence of the write cursor when entering the field in mask edit state is changed, too. In forms the navigation sequence remains unchanged.
After changing the field position you must refresh the mask using the function dal_mas_rfr_mas.