Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Concerning Report Listbox
Thomas Carter 
    
5 years ago
Concerning the Report Listbox extended video and using VBA to loop through the reports into a list box or drop down box.  It is set up to choose all reports within a database, is there a way to choose specific reports?  Meaning if you have a database set up into sections like training, personnel, etc... can you make multiple lists that only seek out reports concerning those specific areas like training, personnel, etc...?  Thank you for your time.
Kevin Robertson  @Reply  
          
5 years ago
I would add a prefix to the names of your reports ("PersonnelAdminR", for example) then look for that prefix using string functions.
I see you're a beginner so perhaps beyond you skill level at the moment, but certainly doable.
Thomas Carter OP  @Reply  
    
5 years ago
Worked with Access for several years, rusty as it has been a few since I have done anything with it.  Recently been building a new database for my job so I am slowly getting back into how things work.  Also, been a while since I worked with any VBA coding, not an expert but not necessarily a beginner either.  Just looking for some direction as I get myself back into what I know and can remember about this particular database system.  I added a prefix already, just trying to figure out a string function which will work.  So, that is where I am at the moment, like I said just looking for ideas to spark my memory and remove the cob webs of non use over the years, thank you for your assistance.
Scott Axton  @Reply  
        
5 years ago
Thomas
Something to consider would be making a table for your reports and add a category for the report.
Use a Combo Box on your form to filter the list box for which reports to present to the user.  

I know this solution was presented some where but I'll have to do some searching to find it.
I haven't watched this video or the extended cut in awhile but that seems to me to be a more flexible solution if you have lots of reports and need to narrow down the selection.

If that is something that interests you let me know and I'll look deeper assuming someone doesn't beat me to it.
Richard Rost  @Reply  
           
5 years ago
The easiest method would be to do what Kevin suggested and name the reports accordingly. OR you could maintain a table with the report names and what groups they should be in. OR you could utilize the .tag property of the report, but that's a lot more advanced.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/6/2026 1:20:53 PM. PLT: 1s