Computer Learning Zone CLZ Access Excel Word Windows

As the area of our knowledge grows, so too does the perimeter of our ignorance.

-Neil deGrasse Tyson
Home   Courses   Seminars   Templates   TechHelp   Forums   Help   Contact   Join   Order   Logon  
Home > TechHelp > Access >

Back to TechHelp

Difficult Reports 2 Upload Images   Link  
William Kennedy 
11 months ago
Ive been working on a somewhat complex search form that feeds many reports generated by that form and the query it generates.  Now that I understand Remember the value for later use. Feature of the combo boxes. Took a lot of testing.
It works pretty well with one issue that I have been trying to make work over this last week.  
The form selects from three Combo boxes data that the query uses to generate a report.  Works great.  The problem I have is that I want to select a date range for any selected data.  I cant seem to get it to work.  The first combo box Anded with the Date Range works, but I have not been able to AND the other two Ored Combo selects with the selected data Range.  I know it must be a VBA coding solution but Im still new and not very good about VBA yet.  Doing the reports this way saves a lot of extra work for the many accounts Im working with and will be much more flexible.
William Kennedy
11 months ago

William Kennedy
11 months ago

William Kennedy
11 months ago

William Kennedy
11 months ago

William Kennedy
11 months ago

William Kennedy
11 months ago

William Kennedy
11 months ago
Thanks for the help in advance
Kevin Robertson
11 months ago
You may need 3 queries - one for each Combo Box to get an And condition with your Date fields for each one. Then in the After Update event of each Combo Box set the Record Source of the form to the appropriate query.

Query Criteria
Record Source Property

Watch Search Form 2.0 if you haven't already.

The Access Search Seminar teach everything you could possibly want to know about performing searches in your Access database.

This thread is now closed. If you wish to comment, start a NEW discussion, below.

Back to TechHelp Comments

Start a NEW Conversation
Only students may post on this page. Click here for more information on how you can set up an account. If you are a student, please Log On first. Non-students may only post in the Visitor Forum.
Subscribe to TechHelp
Get notifications when this page is updated

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

Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
My Account
My Courses
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
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

Copyright 2023 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 9/21/2023 2:11:26 PM.