DIFFERENT WAYS OF USING ERROR HANDLING

There are many ways to use error handling to your benefit. For example, by using error handling, you can account for situations that can't be debugged at development time. These are just a few situations that can occur during runtime and can be handled by using Access's error-handling commands:

  • The user has forgotten to place the disk in the floppy drive, causing an error. You can have the system prompt the user to place the disk in the drive and then try again.

  • The user is deleting some tables from the database through code, but one of the tables is already deleted. This normally causes an error. In some cases you might not care, so you can have the error handler continue with the next line in the code. ...

Get F. Scott Barker's Microsoft® Access 2000 Power Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.