Building the Middle-Tier Component
To move an application to the n-tier model, you must remove all data access code from the user interface and place it in a DLL. Here are the steps involved:
1. | Launch Visual Basic. |
2. | Indicate that you want to create an ActiveX DLL (see Figure 14.2) and click Open. The Visual Basic environment appears as in Figure 14.3.
Figure 14.2. Launch Visual Basic and create an ActiveX DLL project.Figure 14.3. The Visual Basic environment after creating an ActiveX DLL project. |
3. | Return to the Access ... |
Get Alison Balter's Mastering Access 2002 Enterprise Development 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.