Access 2007 VBA Programmer's Reference and over one million other books are available for Amazon Kindle. Learn more

Buy New

or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Buy Used
Used - Good See details
$21.84 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
Sell Back Your Copy
For a $12.20 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Access 2007 VBA Programmer's Reference (Programmer to Programmer)
 
 
Start reading Access 2007 VBA Programmer's Reference on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Access 2007 VBA Programmer's Reference (Programmer to Programmer) [Paperback]

Teresa Hennig (Author), Rob Cooper (Author), Geoffrey L. Griffith (Author), Armen Stein (Author)
4.5 out of 5 stars  See all reviews (17 customer reviews)

List Price: $39.99
Price: $25.70 & this item ships for FREE with Super Saver Shipping. Details
You Save: $14.29 (36%)
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 16 left in stock--order soon (more on the way).
Want it delivered Monday, January 30? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $17.59  
Paperback $25.70  
Sell Back Your Copy for $12.20
Whether you buy it used on Amazon for $17.84 or somewhere else, you can sell it back through our Book Trade-In Program at the current price of $12.20.
Used Price$17.84
Trade-in Price$12.20
Price after
Trade-in
$5.64

Book Description

0470047038 978-0470047033 May 14, 2007 1
Access 2007 VBA Programmer's Reference covers a wide spectrum of programming topics relevant to Access. Although it assumes the reader has some familiarity with VBA programming language, it begins with a brief introduction to VBA. And to help you leverage the tools that Access provides, a chapter highlights the new features in Microsoft Office Access 2007 — including new wizards and GUI (graphical user interface) elements that previously required VBA code, as well as new VBA features.

The book also discusses how to create and name variables, how to use Data Access Object (DAO) and ActiveX Data Object (ADO) to manipulate data both within Access and within other applications, proper error handling techniques, and advanced functions such as creating classes and using APIs. Key new objects such as using Macros and the Ribbon are explored, too, as are forms and reports, the two most powerful tools for working with and displaying data. Working with other applications is covered extensively both in a general nature and for working specifically with Microsoft Office applications, Windows SharePoint Services, and SQL Server. Of course, this book wouldn’t be complete without discussing security issues and the Developer Extensions.

The Chapters

Chapters 1–5 provide material that you need if you're new to Access or VBA. After a review of Access 2007's new features, you explore the building blocks of VBA, including objects, properties, methods, and events. And you're introduced to the VBA Editor and its various debugging tools.

Chapters 6 and 7 focus on using VBA to access data. Both DAO and ADO provide methods for accessing data in Microsoft Access and other external data sources such as Informix, SQL Server, and a variety of accounting programs.

Chapters 8 and 9 provide detailed information on executing and debugging VBA code. Every development project needs some debugging, even if you're an expert developer. You'll see some easy ways to debug your code, and get some tips and tricks to make the tedious process of debugging a bit easier. Error handling is for more than just trapping problems and preventing crashes. It provides a powerful tool for interacting with users and adding functionality to programs.

Chapters 10 and 11 tackle forms and reports, two Access objects that can make particularly heavy use of VBA. In many applications, forms and reports control what the user can see and do. With the advent of report browsers, nearly all of the events that were available on forms are now accessible on reports. So, in addition to using code to show or hide sections of reports and to provide special formatting, you can now drill into the data underlying the report. These two chapters are packed with information; you'll see how to use split screens on forms, create professional image controls, format reports based on cross tab queries, enhance interactive reports, alternate row colors, and much more.

Advanced VBA programming information begins in the next four chapters (12–15) — creating classes in VBA, using APIs, and using SQL and VBA. Because the Office Ribbon is new, there is a chapter dedicated to explaining how to customize and work with the ribbon.

Chapters 16–22 provide information about working with other programs, working with Windows, and controlling access to your applications and files. They also discuss some techniques for deploying database solutions. You’ll learn to create tasks and e-mail in Outlook, perform a mail merge in Word, export data to an Excel spreadsheet, and take information from Access, create a graph, and insert that graph into PowerPoint. Windows SharePoint services can help your applications share data across the Web. You’ll see how new file formats add to network and Access security. In addition, you'll work with client/server development, learn to take advantage of Windows Registry and explore the Access Developer Extensions, essentially a Microsoft add-in, before you tackle macro security.

The Appendixes

As a developer, you can often spend hours going from source to source looking for reference material. The authors have applied the principles of relational databases (doing the work once so it can be used many times in multiple ways) to the appendixes, providing a compilation of data from a myriad of sources.

Appendix A addresses the issues and processes of upgrading, converting, and compatibility. The other 12 appendixes provide lists and tables that complement specific chapters in the book. You'll find detailed lists of objects for both DAO and ADO as well as the Access object model and Windows Registry. The appendixes on naming conventions and reserved words provide invaluable information that not only can strengthen your programming style but can save you from using terms or characters that can cause hours of needless pain and frustration in debugging and correcting. The last appendix is filled with tips and tricks to make it easier and faster for you to develop professional applications, all solicited from MVPs and developers around the world.

The initial chapters are written in a tutorial format with detailed examples. True to the Wrox Programmer's Reference standard format, the book includes numerous reference appendixes with details on the various object models you might use when writing VBA code in Access. It also provides a detailed primer on the Windows Registry and a listing of common API functions you might want to use in your code.

Real-world examples are given for many, if not most, of the programming topics covered in this book. These are just of few of the topics and examples that are included:

  • How to control access to data based on database login information.
  • How to create custom reports based on information entered on a form.
  • How to leverage report browse — the new interactive report feature that enables drilling into data on reports.
  • How to summarize and graphically display data using cross-tab reports.
  • How to use VBA to transfer data between Access and other Office programs such as Outlook, Word, and Excel.
  • How to configure custom ribbons, toolbars, and menus for your Access database applications.
  • How to use the image controls for more intuitive and professional looking forms.

Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Access 2007 VBA Programmer's Reference (Programmer to Programmer) + Access 2007: The Missing Manual + Microsoft® Office Access(TM) 2007 Inside Out (Inside Out (Microsoft))
Price For All Three: $78.18

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Access 2007: The Missing Manual $20.99

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • Microsoft® Office Access(TM) 2007 Inside Out (Inside Out (Microsoft)) $31.49

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details



Editorial Reviews

From the Back Cover

Access 2007 VBA Programmer's Reference

Written by Access MVPs and Microsoft Access testers, this resource will give you the tools to leverage Access 2007's built-in functionality and VBA in order to build more dynamic applications. It explores all aspects of VBA programming for Access and describes the latest innovations. You'll also find several commonly used techniques and sample code to help you get started, as well as expert tips to make your code easier to maintain.

The expert author team will show you how to create and name variables, manipulate data using Data Access Object (DAO) and ActiveX® Data Object (ADO), handle errors, and create classes. You'll also learn how to utilize the latest wizards as well as modify and enhance the code that the wizards create. And you'll learn how to take advantage of key new objects, enhanced macros, and the Office Ribbon.

What you will learn from this book

  • All about Access 2007's new features and the building blocks of VBA
  • Ways to debug your code and avoid common pitfalls

  • Techniques for accessing data in Access and other external data sources

  • Steps for creating and enhancing forms and reports

  • Methods for controlling access to your applications and files

  • How to use VBA with APIs and other Office applications

  • Tips for using the Windows® Registry and ADE tools

Who this book is for
This book is a comprehensive resource for Access users and VBA developers who want to increase the power of Access using VBA.

Wrox Programmer's References are designed to give the experienced developer straight facts on a new technology, without hype or unnecessary explanations. They deliver hard information with plenty of practical examples to help you apply new tools to your development projects today.

About the Author

Teresa Hennig  is president of both the Pacific Northwest Access Developer Group and the Seattle Access Group, and is host for INETA’s monthly webcasts. She was the coordinating author for Access 2003 VBA Programmer's reference, and continues to publish two monthly Access newsletters. In recognition of her expertise and dedication to the Access community, Teresa was awarded Microsoft Access MVP.

Rob Cooper is a test lead on the Access team at Microsoft.  During the Access 2007 release, he led the security efforts across the test team and worked on several new features including disabled mode, database encryption, Office Trust Center, and sorting, grouping and totals. Rob also led efforts around the Access object model and continues to provide direction around programmability and security in Access.
A long-time fan of Access, Rob is a frequent speaker at the Seattle Access Group and PNWADG meetings and has written for the Microsoft Knowledge Base and Access Advisor.

Geoffrey Griffith is an avid Access user who contributed to the Access 2007 product as a Software Design Engineer in Test for the Microsoft Office Access team. He enjoys participating in software community events by attending and speaking for local users groups and helping all those who would seek it.

Armen Stein is a Microsoft Access MVP and the president of J Street Technology, Inc., a team of database application developers in Redmond, Washington.  Armen is President Emeritus of the Pacific Northwest Access Developers Group, and has also spoken at Seattle Access and Portland Access Users Group meetings. He has taught database classes at Bellevue Community College, and also developed and taught one-day training classes on Access and Access/SQL Server development.


Product Details

  • Paperback: 1152 pages
  • Publisher: Wrox; 1 edition (May 14, 2007)
  • Language: English
  • ISBN-10: 0470047038
  • ISBN-13: 978-0470047033
  • Product Dimensions: 9.2 x 7.4 x 2.2 inches
  • Shipping Weight: 3.2 pounds (View shipping rates and policies)
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (17 customer reviews)
  • Amazon Best Sellers Rank: #95,878 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

17 Reviews
5 star:
 (14)
4 star:
 (1)
3 star:    (0)
2 star:
 (1)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
4.5 out of 5 stars (17 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

22 of 27 people found the following review helpful:
5.0 out of 5 stars Excellent Self-Study for Access 2007 VBA, May 10, 2007
By 
Laurin M. Linson "Larry Linson" (Dallas - Fort Worth, Texas Area) - See all my reviews
(REAL NAME)   
This review is from: Access 2007 VBA Programmer's Reference (Programmer to Programmer) (Paperback)
This book has extensive coverage of an area vital to Access developers and power users, by a very knowledgeable team, ably led by Teresa Hennig. It includes something more than an overview explaining new features of Access 2007. That is important because: many features are new and changed in Access 2007, much of what we do with VBA is automating and enhancing features we use manually via the user interface, and the new Office 2007 user interface can be overwhelming without a helping "hand up". Then the book covers VBA from the basics to in-depth advanced levels. It is a worthy successor to the Access 2003 VBA Programmer's Reference and, in my opinion, "raises the bar" for VBA books. I'll be using it as a reference in presentations to my Access user groups, as well as a handy reference for my own work. I recommend it to Access power users, as well as aspiring and working Access developers.

Larry Linson
Microsoft Office Access MVP (see http://mvp.support.microsoft.com)
Co-Leader, Access Special Interest Group, North Texas PC User Group
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


11 of 13 people found the following review helpful:
2.0 out of 5 stars Minimal 2007 conversion details, May 14, 2009
This review is from: Access 2007 VBA Programmer's Reference (Programmer to Programmer) (Paperback)
I purchased this book in main part because the description suggested that it addressed the 2007 changes in Access, including helpful information in upgrading to 2007. However, I felt that clearly was the not case. Yes, it contains typically found information that applies to the 2007 version, but is virtually absent real detail providing specific guidance on the problems and complexities that can be encountered in VBA, Ribbon use, and references when converting Access 2002/2003 up to 2007. No details regarding managing old toolbars converted to Add-in tabs. No details on which old VBA does not convert, or causes predictable conflicts. No details on reference conflicts that can cause immediate problems. I expected more from four professional Access developers. Having now converted Access databases, I've found multiple code differences that could have been brought to my attention that would have saved me subtantial trial and error time loss. Should I have expected more conversion information detail? Normally when going from one version to another, I would find it helpful but not critically important. However, because of the huge impact of Microsoft's new user interface, as well as VBA changes - and their impact on existing prior-version databases - conversion detail would be extremely valuable. So only based on this targeted expectation from this book, I would not recommend it over any other Access book - with regards to usefulness in dealing with conversion problems and complexities.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


9 of 11 people found the following review helpful:
5.0 out of 5 stars Access 2007 Transition, July 17, 2007
By 
Henry W. Jenkins (Queen Creek, AZ USA) - See all my reviews
(REAL NAME)   
This review is from: Access 2007 VBA Programmer's Reference (Programmer to Programmer) (Paperback)
I starting developing with Access 97 and have used each version since. I specialize in accounting applications and there have licensed several Access accounting applications for modification. This book addressed (easy to understand format) the areas that affect developers most (the U.I., code, classes). It is definitely for the experienced. It is a welcome addition to my library.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
accde file, mdw file, accdb format, accdb file, hourglass level, install chaining, source code control program, attachment field type, bound image controls, been disabled options, allow value list edits, mdb file formats, bottom gridline, sandbox mode, nested recordset, creating linked tables, ribbon customizations, left gridline, contact your technical support, disabled mode, mde file, right gridline, custom ribbon, required string expression, complex data fields
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Private Sub, Microsoft Office, Close Set, Public Const, Microsoft Access, End Property, Error Resume Next, Property Get, Database Dim, Database Tools, Chamber Application, Recordset Dim, End Select, Cancel Figure, Exit Procedure, Access Web Datasheet, Rob Cooper, Connection Dim, Open Issues, Server Express, Windows Vista, Project Explorer, Issue Details, Window Help, Workspace Dim
New!
Books on Related Topics | Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:



What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(7)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums





Look for Similar Items by Category


Look for Similar Items by Subject