Chapter 10. Using Classes and Events

In this chapter, you begin by looking at a process called WithEvent processing (also known as subclassing). You will see how to develop your own event handlers that can act upon Microsoft Access 2010 form or control events. As an example, you will develop your own OnError event handler, which can then be hooked into all your application’s forms.

You will also learn you how to construct your own asynchronous batch processor for Microsoft SQL Server by using RaiseEvent and asynchronous event processing. This will illustrate another general technique of classes producing and consuming events.

Toward the end of the chapter, you will look at using ...

Get Microsoft® Access® 2010 VBA Programming Inside Out now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.