Reports summarize data based on organization details you provide. In this video, learn how to open a report.
- [Instructor] When you develop an Access application…for your users, you will often want them to be able to…click a button to display a specific database object.…For example, you might want them to open a report.…In this movie, I will show you how…to open a report using VBA code.…I'm working with the Open Report form and you can find…it in the form section of the course database.…The Open Report form is pretty simple.…
It just has a label, Open Products Report…and then a Products button.…What I want to do is create a new macro…for the Products button.…I will switch to Design View,…which I need to do to create a macro.…So, I click Design View and then I will…right click the Products button and go to the top…of the Shortcut menu and click Build Event.…Then, in the Choose Builder dialogue box,…I'll click Code Builder and click OK.…
When I do, Access creates a new code module…and it is an event that is attached to the command button.…You can see from the name that the command button…is referred to entirely as command button two…
- 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.