DtvLong dal_mas_ins_row (idm, row)

Opens a new record in the column record buffers of all fields of the mask at the specified row position, executes the edit_action-trigger for insert mode and enters the default values defined for fields.

Input Parameters Significance
DtvLong idm mask Id
DtvLong row row position

Output Parameters Significance
no -

Return Code Significance
0 no error
1 error in the post_field-trigger (only interactive)
2 wrong row position
3 error in the edit_action-trigger for insert mode

If the mask contains n records, values between one and n+1 are allowed for row position. The row positions of existing records after the inserted record are automatically incremented by one. With the value n+1 records can be inserted at the end of the list, even if this exceeds the maximum record limit of the mask.

The function is basically identical to the function dal_mas_cre_rec. However, the edit_action-triggers are executed additionally, the defined default values are automatically entered, the maximum record limit is not checked, and the scroll area is automatically updated