This function takes a "snapshot" of the database when it is called. An Undo will restore the database to its state at the time the Undo Point was set. Note that all records (not just data records) are restored. DB_SetUndoPoint also collects garbage, and in fact, the two functions are identical. See "DB_CollectGarbage" for errors.
Syntax: int DB_SetUndoPoint(DBBLOCK *dblk);