TryUpdate (try to change the current record)

Top  Previous  Next

 

TryUpdate, PROC

The TryUpdate method changes (rewrites) the current record. The TryUpdate method does not attempt to handle errors that occur while changing the record.

The Update method provides a slightly different (auomatic) alternative for changing records.

Implementation:

TryUpdate tries to change the record. If it succeeds, it returns Level:Benign (declared in ABERROR.INC). If it fails, it returns the severity level of the error it encountered while trying to change the record. See Error Class for more information on severity levels.

 

This method does not handle referential integrity (RI) between related files. The RelationManager class enforces RI between related files.

Return Data Type:     BYTE

See Also:     Update , PUT