* For one record at a time: if not TableUpdate() && single record, or all records? Check help for details MessageBox("Could not update record.") * See also aerror(), for more details. * Update can fail because of update conflict, or violation of some rule. if <the error is an update conflict, error number 1585 TableRevert() endif endifIf you are working with several tables, and you want to save "all or nothing", use transactions. See: BEGIN TRANSACTION, END TRANSACTION, ROLLBACK.