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 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.