Access 2010 All-in-One For Dummies
eBook - ePub

Access 2010 All-in-One For Dummies

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Access 2010 All-in-One For Dummies

Book details
Book preview
Table of contents
Citations

About This Book

The all-in-one reference to all aspects of Microsoft Access 2010

If you want to learn Microsoft Access inside and out, the nine minibooks in this easy-access reference are exactly what you need. Read the book cover to cover, or jump into any of the minibooks for the instruction and topics you need most. Learn how to connect Access to SQL Server, manipulate your data locally, use nifty new features from Office 2010 such as the enhanced Ribbon, create queries and macros like a champ, and much more. From the basics to advanced functions, it's what you need to make Access more accesssible.

  • Shows you how to store, organize, view, analyze, and share data using Microsoft Access 2010, the database application included with Microsoft Office 2010
  • Includes nine minibooks that cover such topics as database design, tables, queries, forms, reports, macros, database administration, securing data, programming with Visual Basic for Applications (VBA), and using Access with the Web
  • Helps you build database solutions that integrate with the Web and other enterprise data sources
  • Offers plenty of techniques, tips, and tricks to help you get the most out of Access

This all-in-one guide contains everything you need to start power-using Access 2010!

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access Access 2010 All-in-One For Dummies by Alison Barrows, Margaret Levine Young, Joseph C. Stockman in PDF and/or ePUB format, as well as other popular books in Computer Science & Databases. We have over one million books available in our catalogue for you to explore.

Information

Publisher
For Dummies
Year
2010
ISBN
9780470770627
Edition
1
Book VIII
Programming in VBA
532188-pp0801.tif
Controls on a form in Design view
Contents at a Glance
Chapter 1: What the Heck Is VBA?
Finding VBA Code
Enabling VBA Code
Using the Visual Basic Editor
Discovering Code as You Go
Chapter 2: Writing Code
How VBA Works
VBA Syntax
Declaring Module Options
Writing Your Own VBA Procedures
Typing and Editing in the Code Window
Testing and Running Your Code
Chapter 3: Writing Smarter Code
Creating Variables and Constants
Making Decisions in VBA Code
Executing the Same Code Repeatedly
Using Custom Functions
Chapter 4: Controlling Forms with VBA
Displaying Custom Messages
Opening Forms with DoCmd
Changing Form Controls with VBA
Understanding Objects and Collections
Chapter 5: Using SQL and Recordsets
Recordsets and Object Models
SQL and Recordsets
Running Action Queries from VBA
Chapter 6: Debugging Your Code
Considering Types of Program Errors
Fixing Compiler Errors
Trapping Runtime Errors
Dealing with Logical Errors
Chapter 1: What the Heck Is VBA?
In This Chapter
Understanding Visual Basic for Applications (VBA)
Using the Visual Basic Editor
Discovering code as you go
Visual Basic for Applications — often abbreviated VBA — is a programming language that you can use to extend the functionality of Microsoft Access and other products in the Microsoft Office suite of programs. A programming language is a means of writing instructions for the computer to execute (perform). Programmers often refer to the written instructions as code because the instructions aren’t in plain English. Rather, they’re in a code that the computer can interpret and execute.
You can create sophisticated Access databases without using VBA at all. In most cases, the other objects offered by Access — tables, queries, forms, reports, and macros — offer more than enough flexibility and power to create just about any database imaginable. But once in a while, you come across a situation where you want to do something that none of those other objects can do. That’s where VBA comes in. If you can find no other way to accomplish some goal in Access, writing VBA code is usually the solution.
Finding VBA Code
So what the heck is VBA code, anyway? To the untrained eye, VBA code looks like gibberish — perhaps some secret code written by aliens from another planet. But to Access, the code represents very specific instructions on how to perform some task.
Within any given database, Access stores code in two places:
Class modules (code-behind forms): Every form and report you create automatically contains a class module (also called a code-behind form), as ...

Table of contents

  1. Cover
  2. Table of Contents
  3. Title Page
  4. Introduction
  5. Book I : Essential Concepts
  6. Book II : Tables for Storing Your Data
  7. Book III : Queries (or Getting Information from Your Data)
  8. Book IV : Forms for Editing Data
  9. Book V : Reporting in Words and Pictures
  10. Book VI : Automation with Macros
  11. Book VII : Database Administration
  12. Book VIII : Programming in VBA
  13. Book IX : Going Beyond Access