Tables store your Access data and provide the backbone of your databases. In this video, learn how to open a table.
- [Instructor] When you create a database in Access,…you will often use a VBA code…to automate certain processes.…In this case, I might want to allow my users…to open the categories table…with just a click of a command button.…I am working in the Open Categories form…and you can see that it has the Open Categories table label…and then a command button with categories as its text.…The Open Categories form is available to you…in the form section of the sample database.…
If you want to assign a macro to a command button,…we need to view the form in Design view.…So on the Home tab,…I'll click the view button's down arrow,…and click Design view.…Then, I will right-click the Categories button,…and then at the top of the shortcut menu,…I'll click Build Event.…In the Choose Builder dialog box,…I'll click Code Builder, and click OK.…And you can see that I have a private subroutine…and it's called Command1_CLICK.…
What that means is that this is the event code…that will run when command button one…as referred to internally by the program is clicked.…
- Working with macros
- Running a VBA procedure
- Debugging VBA code
- Defining variables, constants, and calculations
- Displaying a calculated result in a message box
- Repeating tasks with loops
- Manipulating database objects
- Adding, editing, and deleting records
- Looking up values in a table
- Automating processes with macros
Skill Level Advanced
What you should know1m 38s
1. Introduction to Visual Basic for Applications
2. Define Variables, Constants, and Calculations
3. Add Logic to Your VBA Code
4. Debug Your VBA Code
5. Manipulate Database Objects Using DoCmd
6. Read and Manipulate Table Data
7. Manipulate a Database Using the Application Object
8. Control Forms and Reports Using the Me Object
9. Automate Processes Using Macros
Next steps1m 7s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.