Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Custom List Box    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Table driven selection
Sami Shamma 
             
4 years ago
I have a report that receives its filter from a calling Form. In that form I need to select the "Housing Blocks" to be included in the filter. Currently I have a Field called "Blocks" where the user must correctly enter: ("H-1","H-2",...). I have a table BlockT that contains the H-1, H-2 etc.
I would like the user to open something on the Form that will allow him to select the blocks he wants, and I will build the filter statement by looping through his selection. There are other fields on the Form that will also be included in the Filter statement. The BlockT data changes from location to location so I cannot hard code it as in the videos above.

And many thanks
Sami Shamma OP  @Reply  
             
4 years ago

Sami Shamma OP  @Reply  
             
4 years ago
Hi
Happy Holidays. I managed to do what I wanted, please see image above. Just struggling with one issue. Once the selection is made and the selection Form is closed, I am unable to change the focus from the Button to the next field to show the selection. I cannot figure out where to place my DoCmd.GoToControl code.

Many Thanks
Richard Rost  @Reply  
          
3 years ago
You'll probably need to put it in the button of your popup form before it closes.
Sami Shamma OP  @Reply  
             
3 years ago
Thank you for your reply.
what VBA command I can put at in the popup form that will move the focus in the calling form? and do I use "DoCmd.GoToContol" or "SetFocus"?

many thanks

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Custom List Box.
 

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/1/2026 11:41:29 PM. PLT: 0s