Thank you for visiting us. We are currently updating our shopping cart and regret to advise that it will be unavailable until September 1, 2014. We apologise for any inconvenience and look forward to serving you again.

Wiley
Wiley.com
Print this page Share

Access 2003 VBA Programmer's Reference

ISBN: 978-0-7645-5903-7
984 pages
April 2004
Access 2003 VBA Programmer
What is this book about?

Its power and short learning curve have made Access Microsoft’s leading consumer relational database management system for desktop applications. VBA lets you tap more of that power, responding to application level events, displaying forms and reports, manipulating toolbars, and much more.

In this book, a crack team of programmers, including two Microsoft MVPs, shows you how to take control of Access 2003 or 2002 using VBA. You’ll learn to create and name variables, use DAO and ADO to manipulate data, handle errors correctly, create classes and use APIs, and more. An entire chapter is devoted to the changes in Access 2003, including new wizards and GUI features that previously required VBA code as well as new VBA features.

You’ll receive a thorough education in system security, macro security, and the Access Developer Extensions (ADE). You will discover how to access data with VBA, execute and debug VBA code, and use VBA with Access objects. Finally, you will learn more about the relationship between Access and SQL Server, and how to use VBA in Access to control and enhance other Office applications.

What does this book cover?

Here are some of the things you'll discover in this book:

  • How to take advantage of the built-in Access object library, using Access commands and executing them from any Access toolbar
  • What you need to know to design your own classes, implement common APIs in your code, and use SQL to access data
  • How to configure custom menus for your Access database applications
  • Ways to transfer information between Access and Excel, Word, Outlook, and other Office programs
  • How to show or hide entire sections of reports based on data entered on a form, or hide form fields based on database login information
  • Object models you can use when writing VBA code in Access, and a list of common API functions to use in your code

Who is this book for?

This book is a comprehensive resource for Access users and VBA developers who want to increase the power of Access using VBA. In addition to experience with VBA, you should have read at least one tutorial covering VBA for Access.

See More
Credits.

Title Page.

Copyright Page.

Dedication.

Acknowledgements.

Author Bios.

Introduction.

1. Intro to Access.

2. Access, VBA, and Macros.

3. New Features in 2003 (and 2002).

4. VBA Basics.

5. Using the VBA Editor.

6. Using DAO to Access Data.

7. Using ADO to Access Data.

8. Executing VBA.

9. VBA Error Handling.

10. Using VBA to Enhance Forms.

11. Enhancing Reports with VBA.

12. Creating Classes.

13. APIs.

14. SQL & VBA.

15. Working with Office Applications.

16. Security.

17. Understanding Client-Server Development with VBA.

18. Windows Registry.

19. Using the ADE Tools.

20. Macro Security.

Appendix A:  Upgrading to Access 2003.

Appendix B: References for Projects.

Appendix C: DAO Object Method and Property Descriptions.

Appendix D: ADO Object Model Reference.

Appendix E: Access Object Model.

Appendix F: Windows API Reference Information .

Appendix G: Naming Conventions.

Appendix H: VBA Reserved Words.

Appendix I: Tips and Tricks.

Appendix J: ADO Object Argument Information.

Appendix K: Access Wizards, Builders and Managers.

Appendix L: Windows Registry Information.

Index.

See More
Patricia Cardoza is an Access Developer and an Outlook MVP; she previously authored Special Edition Using Microsoft Outllook 11 (Que). 

Teresa Hennig is a database consultant specializing in Access; she is President of the two leading Acess user groups in the US.

Armen Stein is the founder of J Street Technology, a team of database developers in Redmond Washington, and is Emeritus President of the Pacific Northwest Access Developers Group. 

Graham Seach is an Access MVP; he is also Director and Chief Developer for Pacific Database, a firm specializing in Microsoft Access and SQL Server.

See More
Download TitleSizeDownload
Download the code and example databases for the book in .zip format. 2.28 MB Click to Download
Download the code and example databases for the book in .ace format only 3/4 the size of the .zip.
Go to www.winace.com if your archive software doesn't support the .ace format.
1.75 MB Click to Download
See More

Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.

ChapterPageDetailsDatePrint Run
87 Replacement Code
At the bottom of page, last 2 sentences: should be: The following code sample illustrates how both the declaration and it’s location affect a variable’s scope and lifetime.
Option Explicit 'Used to require variable declaration

Public txtCustomerName as String 'Scope is entire application
Private txtVendor as String 'Scope is any procedure in this module
Dim txtSupplier as String 'Scope is the current module


Private Sub GetCustomerName()
Dim txtCustomer as String 'Scope is limited to this sub
End Sub
You might be wondering why the two statements that begin with Dim have different scopes. Use of the Dim keyword in the General Declarations section sets the scope of the variable to the module, so it can be used by any procedure in that module.. In the previous listing, txtVendor and txtSupplier are both module-level variables. They can be used anywhere within the module and anytime the module is loaded. txtCustomerName is a global variable. It can be used anywhere within any procedure in the application.
01/03/07
See More
Buy Both and Save 25%!
+

Access 2003 VBA Programmer's Reference (US $39.99)

-and- Discovering SQL: A Hands-On Guide for Beginners (US $34.99)

Total List Price: US $74.98
Discounted Price: US $56.23 (Save: US $18.75)

Buy Both
Cannot be combined with any other offers. Learn more.

Related Titles

Back to Top