Object-oriented programming provides a useful framework for VBA. In this video, get an introduction to object-oriented programming.
- [Instructor] Before I dive into the details…of Access VBA, I thought I'd give a quick overview…of programming languages.…And of course, the first question you ask is,…what is a programming language?…Well, there are a lot of formal definitions,…but the one that I'll use is a lot less formal,…and that is, a system os statements used…to control a computer.…We want Microsoft Access to do some things…that the program might not be able to do on its own,…so we use a systems of statements to control it.…
There are some specific elements…that our programming language should have,…and those requirements include the ability to accept input,…that could be from the keyboard or perhaps from a file,…the ability to store data so it can work with it,…to manipulate data, and also to produce output.…If all Access ever did was make changes…that we could never see, it wouldn't be very useful to us.…Specifically, we will be working in the object-oriented…programming paradigm.…
The best way to explain object-oriented programming is…
- 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.