Access 2007-2019
Access 2000-2003
Access Seminars
TechHelp Support
Tips & Tricks
Access Forum
Course Index
Topic Glossary
Insider Circle
Home   Courses   Seminars   Templates   Help   TechHelp   Forums   Contact   Join   Order   Logon  
Home > TechHelp > Directory > Access > Report Listbox < On Dbl Click | Favorite Customers >
Report Listbox
By Richard Rost   Richard Rost on Twitter Richard Rost on LinkedIn Email Richard Rost   10 months ago

Using the On Double Click Event. Open Record.

 S  M  L  XL  FS  Join Now

Learn how to make a listbox that's got all of the reports you need to print on a regular basis. All your users have to do is click on a report and then click on a "print" button, and voila. There's your report. Nice and easy to maintain and update, too.

Avery from Mesa, Arizona (a Gold Member) asks: Is there a way I can create a list box or a combo box that displays a list of the available reports in my database. I don't need all of them, just a handful. I'd like to make it easy for the users to pick one and click a button to print it. I also don't want to have to add buttons to a menu every time I make a new report (which is often). Help?


I'll show you how to do the same thing without having to maintain a table. We'll loop through the Reports collection in VBA and use that to populate the list. I'll show you how to add a Description property attribute to a report for the display text. Fun stuff!

Silver Members and up get access to view Extended Cut videos, when available. Gold Members can download the database template from class plus get access to the Code Vault. If you signed up on YouTube you have to contact me so I can set up your account here on my web site. If you're not a member, Join Today!

What Course?

This isn't covered in any of my courses! New stuff!


Relational Combo Box:
Intro to VBA:

Learn More

FREE Access Beginner Level 1
Access Level 2 for $1.00

Free Templates

TechHelp Free Templates
Blank Template
Contact Management
Order Entry & Invoicing
More Access Templates


Mailing List - Get Emails When New Videos Released!
Consulting - Need Help with Your Database?


Please feel free to post your questions or comments below or submit them via the TechHelp page.


MSysObjects Query Alternative Upload Images   Link  
Alex Hedley 
10 months ago
Need to double check if the Description field is included but could you not use the MSysObjects Table as an alternative?

SELECT MSysObjects.Name AS Table_Name
FROM MSysObjects
Richard Rost
10 months ago
Yep. As with anything in Access there are always multiple ways to do things. That's another method. And no, I don't think you can get to the Description property that way, so you're still going to have to loop.
Richard Rost
10 months ago
Honestly I still prefer Method 1 (with the table) that I show in the free video. I like being in control of the list with a table. You can add a custom sort order and everything.
Add a Reply
Sort Reports Upload Images   Link  
Ray White 
10 months ago
What would be the best way to make it so that the user could sort the reports in any order they want? Like if I had 30 reports and I mainly use 10 of them a lot so I want them 10 at the top of the list in which ever order I want. Read More...
Alex Hedley
10 months ago
With it being a custom sort I'd prob create another table which stores the users preferences, so they'd have a screen with the list of reports and they could tick ones as favourites, make the sort order by that, or given them a preference score and sort by that.
It's a little extra work but how else would you know.
Unless you audit which reports they open and sort by most often. Increase a counter each time? Add a row to a table, that could get big slow though.
Juan C Rivera
10 months ago
I like the list box set up Richard just put out the video.  Check it out it is good and simple to follow .  
I find most of the time not wishing to give the customer to many options as they forget 90% and just use a few 10%.  Find what few they like and they will be happy..  or you will spend a lot of time coding stuff that may never get used
Most of the time I use a dropdown with the selectcase.  SQL is the best way.  set up a form dropdown will sort the form.  then set up a report with that recodrsource, BOOM- What you see is what you get.  
just my thoughts

Add a Reply
Date Filter Upload Images   Link  
Kaibaua Airam 
10 months ago
Please can you add the option for Date Filter on Report Listbox
Richard Rost
10 months ago
You want the report you open to get it's criteria from fields on the form? Just see this: Forms!FormName Notation
Add a Reply

Show Older Comments...
View in Table Format

Start a NEW Conversation
Only students may post right now. Click here for more information on how you can set up an account. If you are a student, please LOG ON first.

You may want to read these articles from the 599CD News:

12/3/2021Access Beginner 2
12/3/2021Access Beginner 2 Lessons
12/3/2021Access Beginner 2
11/30/2021Import Multiline Cells
11/30/2021Adam's Access Games
11/29/2021Prevent Close
11/22/2021Currency Symbols
11/13/2021Access Developer 36

Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Account Login
Online Theater
Lost Password
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Customer Support
Web Site Tour
Consulting Services
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Contact Info
Support Policy
Email Richard
Mailing Address
Phone Number
Fax Number
Course Survey
Blog RSS Feed    Twitter

YouTube Channel    LinkedIn
Keywords: TechHelp Access selecting a report from a listbox, report combo box, listbox of available reports, report drop down list, AccessObject, Application.CurrentProject.AllReports, Containers, Documents, CurrentDB  PermaLink