Cadzow 2000: “Invalid Database Object Reference”
When exiting Cadzow 2000 you may receive an error dialog saying:
Clicking OK and Cancel both put the user into a loop and eventually it is possible to close Cadzow 2000.
Also, after closing some screens having edited records in the database, you may receive:
The expression On Click you entered as the event property setting produced the following error: Object invalid or no longer set. (Error Code 64226)
This may happen if the folder containing the workgroup file (.MDW) is read-only, or if the file is damaged.
To compact and possibly repair the MDW file, run COMPMDW.BAT in the Cadzow 2000 “BIN” folder, which will perform a Jet compact/repair on all .MDW files in the ..\CLIENTS folder. This does not require any special administrative permissions or elevated access, just normal read/write access to the folder. This is a safe operation even for MDW files which are not damaged.
If the problem persists, restore a known good .MDW from a backup or verify the folder is writeable.
This issue does not cause any data loss in the Cadzow 2000 database, the error messages only relate to issues within the workgroup file.
† Filename may vary.