Access VBA Advanced: Power Search with Subforms

Download and learn to use the "Power Search with Subforms" database that has helped me make more than $500,000!
4.9 (23 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
591 students enrolled
92% off
Take This Course
  • Lectures 45
  • Length 5 hours
  • Skill Level Expert Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 3/2016 English

Course Description

You've been shown many VBA techniques in my other courses and even a complete system in the Intermediate course, but this is much more than that! By adding subforms, this FULLY FUNCTIONING SYSTEM is ready to use RIGHT NOW as a demo to solicit business or impress your boss. The system is much more flexible and could easily be used to quickly create powerful custom systems.

Believe me, when a business owner or boss takes a look at this demo, they will be more than impressed! They will be ready to HIRE YOU to do the job!

So take what you learned in the Intermediate Access VBA Course to a level that is probably far beyond what you thought was possible. This course takes the Prototype System introduced in the Intermediate VBA course to a much higher level by adding the ability to incorporate unlimited subforms!

I spent a solid month of programming greatly expanding this system while, at the same time, making it simpler to work with! I'm pretty happy with the way it turned out and I think you will be too!

Restrictions like having your form have the same name as the recordsource table are GONE, and you can name the List form anything you want. You can add unlimited subforms to your main form and use any or all of them in search! Best of all, now you can save your searches!

To help make saved searches more valuable, two new Date Criterias have been added: MTD and YTD. Put one of these into your criteria and the search will automatically calculate the date from the beginning of the month or year through today, every time you run the search!

Searches can be setup with criteria on just one of your subforms, or all of them or any combination of the main form and subforms. Save the search with a descriptive name and then retrieve it at any time. You can also have an unlimited number of main forms and have searches running in ALL of THEM AT THE SAME TIME! If you close the database without ending the searches, they will all be there when you open the database again!

The database you receive as a download with this course is a new and improved version of the "prototype" database I have used for years to attract new clients. I call this system the CLOSER because, after viewing the demo, the only question is "When can you start?"

Follow along as I take you step by step through the inner workings of this radically improved database. We will cover VBA syntax that is far beyond what you thought possible with subforms.

This system contains all the code and capabilities from the Intermediate system, but also shows you how to :

  1. Make the menu buttons change color when you move the mouse over them.
  2. Create "Quick Search" pulldowns that integrate with the regular search.
  3. Use the prototype form to quickly setup an existing form to have all the functionality of the Customer form in the course.
  4. Easily add unlimited subforms to your main form and have them work in search also.
  5. Use all the search criteria methods from the Intermediate course within your subforms.
  6. Save an ulimited number of searches on each of your main forms.
  7. Remove or modify saved searches easily.
  8. Use the new MTD and YTD criteria in any main form or subform date field.
  9. Understand the tables that search automatically creates for you.

If you take the time to master doing a demo with this database, you will instantly impress potential clients with your capabilities.

There will be no question of your computer background or certifications - this database provides your credibility. In fact I usually tell prospective clients that I have ZERO computer education and NO certifications, THEN I demo this system. BANG! New Client almost every time!

For a visual walk through of the prototype database, view the previews in the first section.

From a Student Review -

"This course is real value for money. I have learned a lot of new skills!" - Johan Kritzinger

Once you have done that, clicking the Take This Course button is the logical next step in your VBA journey. Exporing this system will expand your abilities with VBA faster than anything else you could possibly do. Think of it! In just HOURS you could be ready to go find your first client!

Intended Audience:

This course assumes that you have either gone through my "Access VBA Intermediate" course and know the basic way the Prototype system and its menus work.

Course Requirements:

You should have Office 2010 or later. The course was created using Office 2010.

What are the requirements?

  • Students should have a very good grasp on VBA as we cover a great deal of highly complex code within this course.

What am I going to get from this course?

  • Install the database and use all the search functions, even with existing forms!

Who is the target audience?

  • This course is for students who have completed my Access VBA Intermediate course and are ready to learn how to add Subforms to the Prototype database!

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: System Overview and Demonstrations
What this system is and how it can help you
System Demo - The Minor Changes from the Intermediate Database
System Demo - The Quick Search Pulldowns
System Demo - The Orders Subform
System Demo - The Tasks Subform
System Demo - The Search System
Database Download Links
Section 2: How Keyflash Works
Setting RGB Colors with the Mouse Move Event
The FKeyColors Subroutine
How are the Key Colors Reset Back to Default?
Section 3: How to Resize the Notes Box
Find the Code for Resizing Notes
Section 4: How Quick Search Works
Examine the Company Search
Examine the Company Search AfterUpdate Sub
The Company Search Got Focus Event
Section 5: The Order Subform
The Order Subform Enter Subroutine/Testing for No Records
More on the Orders Subform Enter Subroutine
The Order Subform Exit Subroutine
How the GO button in the Orders Subform Works
Section 6: The Task Subform
Overview of the Task Subform
The Add New Task Menu Command
The All Tasks Report Command
The Tasks Due Report Command
Section 7: Details on How Search with Subforms Works
Quick overview of FormControl and FormSubControl Tables
UnlinkSubforms Subroutine
Remove the Search Tables and Test SetupSearch
Examine the SetupSearch and SetupSrchTbl Subroutines
Step Through SetupSearch Part 1
Step Through SetupSearch Part 2-SetInputMasks
Process Search Part 1
Process Search Part 2 - Building the FStr
Process Search Part 3 - Building the Keylist Table Query
Process Search Part 4 - LinktoSearch and Finish
Step Through Processing a Search
Section 8: Ending, Saving and Retrieving Searches
Cancel or End Search - Code Step Through
Save Search - Code Step Through
Retrieve Search - Code Step Through
Delete Search - Code Step Through
Setup Search on Open Form - Code Step Through
Section 9: Using the Prototype and Prototype List Forms
Setup a New Form Using the Prototype Form.
Modify the VBA Editor Toolbar and Create Subform Enter/Exit Subroutines
Create Subform Menus
Create a New Continuous List Form
Using the Prototype List Form
Section 10: Conclusion
Conclusion - How to Get the Most Out of What You've Learned
Section 11: Bonus Lecture - Learn Even MORE!
Bonus Lecture - Expand Your Knowledge!

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Bruce Myron, Productivity Specialist

Hello, my name is Bruce Myron. I am a self employed Access programmer and general computer consultant to small and medium sized businesses. I got into programming because I was tired of all the jargon most programmers use and how they don't seem to care about business.

"Technology is great but I've always been more interested in how it can be used to make companies more profitable." - Bruce

I live in Portland, Oregon and have many long term relationships with local businesses. Many of the systems I have built for these companies are critical to the success of the business. My specialty is taking the needs of the business and translating them into a system that facilitates, rather than obstructs, what they are trying to do.

I have also spent time as a full time trainer providing group classes on the Microsoft Office programs.

In my opinion the computer industry as a whole is a colossal failure in helping businesses solve their problems. I listen carefully to the needs expressed by my clients and then deliver the simplest, most flexible solution possible.

Over the years I have found that many of the techniques I have used enabled me to survive and thrive when many others have tried the computer programming business and failed.

My goal is to show my students how to create systems that business will value and that will create long term income.

Ready to start learning?
Take This Course