Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Keep Your Databases from becoming Overwhelming! 22

Status
Not open for further replies.
If you have a long and tricky sub routine, create a string variable to hold the status of what you are up to and make sure you update it as you go. This makes it a lot easier to debug RTEs, as you can then put the status in the error message.

And a quick tip for recovering corrupted databases - If the compact/repair function doesn't fix things, create a new database and import all of the objects.

You can also export a text definition of all objects using the undocumented SaveAsText function (try typing it in the debug window - it will prompt you with the parameters, but no help available). Recreate the object by using the LoadFromText function.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top