DB_JOURNAL_UPDATE

Syntax

int_val = DB_JOURNAL_UPDATE ( journal_file_id, htable, recid, image );
Input arguments
int journal_file_id File handle of the journal file obtained from F_OPEN_FILE.
handle htable Handle of the database table that contains the record to be updated.
handle recid Handle of the record ID that identifies the record to be updated.
handle image The current values of the fields to be updated.

Return Values

Success:
int 0 Update succeeded.
Failure:
int -1 Script interface error.

Description

This function makes an update journal entry of a record before the fields in the image are updated to the database.