Input Parameters | Significance |
none | - |
Output Parameters | Significance |
none | - |
Using this function you can write records, which were updated or newly created in the mask, back into the data base. Based on the internal Id number (C_ID) of the record, DataView decides, whether an update or an insert operation has to be executed in the data base. An update operation is executed if a C_ID already exists for the record while an insert operation is executed if it does not.
Only those records are written back into the data base whose dirty-flag is set. If the writing of a record is unsuccessful, the dirty-flag is not unset and the function returns an error code. In case of several incorrect records the error message refers to the record edited last, i.e. the one with the highest line number.
Before and after the data base transaction the Pre_ - and Post_Action triggers are called for each edited record.
The function automatically invokes a Fetch after Write callback function, is set with dal_wdh_set_chk_faw.