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 
Filter form combobox or button
Mark Budinger 
     
3 years ago
Is there a way that I can have a combo box on a form or a command button that will filter my form if a check box is False? I have two check boxes "Material" & "In Process". Right now the form opens and shows all records. Is there a way to do this or do I just have to create 2 new forms and two separate queries and set the forms to the correct query and filter the criteria of the query to get the results that I am looking for?

Regards,
Mark
Alex Hedley  @Reply  
           
3 years ago
Alex Hedley  @Reply  
           
3 years ago
Mark Budinger OP  @Reply  
     
3 years ago
Thank you Alex for the reference to the Seminar and Template. Currently I don't have the funds to purchase those. I guess I will just create two new forms and queries and go from there.

Regards,
Mark
Alex Hedley  @Reply  
           
3 years ago
Sami Shamma  @Reply  
             
3 years ago
Mark
Check Search tech videos for search forms. There is couple of them. Also, give us more information perhaps we can help.
Mark Budinger OP  @Reply  
     
3 years ago
The Search Form 2.0 Extended video is exactly what I am looking for. Thank you Alex. My issue now is that the record source of the form is using 4 tables.

This is the SQL of the record souce.

SELECT Customer_PO_Details.*, Part_Number.*, CUSTOMER.CUST_NAME, Customer_PO.*, Customer_PO.Cust_Po_Closed
FROM CUSTOMER RIGHT JOIN ((Customer_PO_Details LEFT JOIN Part_Number ON Customer_PO_Details.[PO_Part_No] = Part_Number.[Part_Number]) LEFT JOIN Customer_PO ON Customer_PO_Details.[PurchaseOrder_ID] = Customer_PO.[PurchaseOrder_ID]) ON CUSTOMER.[CUST_CODE] = Customer_PO.[Cust_Code]
WHERE (((Customer_PO_Details.PO_Part_Quantity)>0) AND ((Customer_PO_Details.PO_Schedule_Marker)=Yes))
ORDER BY Customer_PO_Details.PO_Part_DueDate, Customer_PO_Details.PO_Part_No, Customer_PO_Details.[PO_Record_ No];

Is there a way that I can put this in the Private Sub RequeryForm and replace SQL = "SELECT * FROM Customer_PO_Details"

Regards,
Mark
Mark Budinger OP  @Reply  
     
3 years ago
I have an update. Since I have not been able to use the extended video's instructions, I was able to create a query and use a check box to filter my results. I would really like to not have to use a query if possible. I would like a combo box to choose my filter. I am not good with SQL at all and since this form uses 4 tables I am lost with being able to add the SQL code from the record source to the code from the Extended video. Is it possible to use the SQL from the record source of my form that I posted last night to this code that Richard created?

Regards,
Mark

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: 4/30/2026 3:28:40 PM. PLT: 1s