Chapter 11. Handling Access Error Codes

In the last chapter, you learned about customizing your database by using many of the features available in VBA. This chapter focuses on what to do when you have an error. Adding error handling to your procedures makes your code run smoother. Specifically, in this chapter you learn

  • what options are available to you when you have an error

  • how to determine which errors have occurred

  • how to write procedures that provide information concerning which errors have occurred

  • how to fix errors after trapping them

  • how to use the Resume statement

Get Access 2002 Programming by Example 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.