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

Access 2013 All-in-One For Dummies

Alison Barrows, Joseph C. Stockman, Allen G. Taylor

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

Access 2013 All-in-One For Dummies

Alison Barrows, Joseph C. Stockman, Allen G. Taylor

Book details
Book preview
Table of contents
Citations

About This Book

Get started with the new Access 2013 with this impressive all-in-one reference!

Microsoft Access allows you to store, organize, view, analyze, and share data; the new release enables you to build even more powerful, custom database solutions that integrate with the web and enterprise data sources. This compilation of nine indispensible minibooks is exactly what you need to get up to speed on the latest changes to Access. This easy-to-understand resource provides both new and experienced Access users with invaluable advice for connecting Access to SQL Server, manipulating data locally, getting up to speed on the latest features of Access 2013, creating queries and macros, and much more. From the basics to advanced functions, this book is what you need to make Access more accessible.

  • Shows you how to store, organize, view, analyze, and share data using Access 2013
  • 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 solutions
  • Offers plenty of techniques, tips, and tricks to help you get the most out of Access

This all-in-one guide offers you access to all things Access 2013!

Frequently asked questions

How do I cancel my subscription?
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.
Can/how do I download books?
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.
What is the difference between the pricing plans?
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.
What is Perlego?
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.
Do you support text-to-speech?
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.
Is Access 2013 All-in-One For Dummies an online PDF/ePUB?
Yes, you can access Access 2013 All-in-One For Dummies by Alison Barrows, Joseph C. Stockman, Allen G. Taylor in PDF and/or ePUB format, as well as other popular books in Informatica & Database. We have over one million books available in our catalogue for you to explore.

Information

Publisher
For Dummies
Year
2013
ISBN
9781118637371
Edition
1
Subtopic
Database
Book VIII
Programming in VBA
9781118510551-pp0801.eps
pt_webextra_bw.TIF
Find out about using VBA to change form controls at www.dummies.com/extras/access2013aio.
Contents at a Glance
Chapter 1: What the Heck Is VBA?
Chapter 2: Writing Code
Chapter 3: Writing Smarter Code
Chapter 4: Controlling Forms with VBA
Chapter 5: Using SQL and Recordsets
Chapter 6: Debugging Your Code
Chapter 1: What the Heck Is VBA?
In This Chapter
arrow.png
Understanding Visual Basic for Applications (VBA) code
arrow.png
Working with VBA code
arrow.png
Using Visual Basic Editor
arrow.png
Working with other people’s code
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 language 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. Once in a while, though, 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 usually is the solution.
Getting Acquainted with 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:
check
Class modules (code-behind forms): Every form and report you create automatically contains a class module (also called a code-behind form), as illustrated in Figure 1-1. The class module for a given form or report is empty unless you place controls in that form or report that require VBA code.
9781118510551-fg080101.eps
Figure 1-1: Every form and every report has a class module behind it.
check
Standard modules: Code can also be stored in standard modules. Code in standard modules is accessible to all objects in your database, not just a single form or report.
Opening a class module
If you want to view or change the code for a form or report’s class module, first open, in Design view, the form or report to which the module is attached. Then click the (Form Design Tools) Design tab, and click the View Code button in the Tools group, shown near the mouse pointer in Figure 1-2.
9781118510551-fg080102.tif
Figure 1-2: The View Code button.
You can also get to a class module from the Event tab of the proper...

Table of contents