Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 28th, 2006, 09:08 AM
Authorized User
 
Join Date: Jan 2005
Location: Redford, MI, USA.
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default Filtering Combo Boxes

I have a question about filtering on combo boxes. I was able to set up a form with 2 sub-forms, but it's more than what I need.

What I want it to do, is when the user makes the selection on the first combo box, I want it to filter on that selection and then drop that into the 2nd combo box. When the user makes the selection on teh 2nd combo box, then it should filter the results to a sub-form.

Any help? I have the relationships, and can get it to work when I have 1 form, and 2 sub-forms, but I really want just 1 form, with 1 subform.




 
Old August 28th, 2006, 10:01 AM
Friend of Wrox
Points: 4,007, Level: 26
Points: 4,007, Level: 26 Points: 4,007, Level: 26 Points: 4,007, Level: 26
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Lansing, Michigan, USA.
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG
Default

Search the archives here for the phrase cascading comboboxes. It's just a matter of changing the rowsource of the second combobox with an After Update event from the first one.


Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
 
Old August 28th, 2006, 10:40 AM
Authorized User
 
Join Date: Jan 2005
Location: Redford, MI, USA.
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I did a search in the archives for "cascading comboboxes" and there were no actual matches, just a bunch of links that might have something relating to it.







Similar Threads
Thread Thread Starter Forum Replies Last Post
Filtering Data from one Combo Box to another Steve1977 ASP.NET 3.5 Basics 1 September 14th, 2008 08:50 AM
filtering records on subform from an unbound combo jd_erd Access 3 February 12th, 2007 11:21 PM
Combo Boxes nbuckwheat Access 1 January 15th, 2006 09:26 AM
combo boxes damnnono_86 Access 2 October 15th, 2003 09:00 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.