revert
revert

The revert statement reloads the last saved version of the database from the disk.

Parameters

No parameters.

Description

This statement reloads the last saved version of the database from the disk. This has the same effect as choosing Revert from the File menu and then choosing the most recently saved version.

See Also

- Database Integrity Checks -- checking database integrity when opening and saving.
- Database is Damaged Alert -- how to fix the "database is damaged" alert when opening a database.
- print -- prints the database.
- printonerecord -- prints the the currently active record.
- save -- saves the database to disk.
- saveacopyas -- saves a copy of the currently active file under a new name. The original database remains open in memory under its original name.
- saveas -- saves a copy of the currently active file under a new name. The original file remains unchanged.

History

Version | Status | Notes
10.0 | Updated | Carried over from Panorama 6.0, but this statement no longer displays a warning alert, even if it is the last statement in the program, or if it is followed by a nop or stop statement.