hatched850
11-14-2006, 03:11 PM
Solved: I want a combo box to limit a combo box
In a form I have a combo box to select a county the next combo box is the city. I have a table with the counties and their cities. I want to make the city combo box in my form list only the cities for the county that was already selected. Does this make sense?
:help
as always you guys are the greatest!!
Hatched850 :cloud9:
Local Time: 05:09 PM
Local Date: 11-14-2006
Location: http://www.vbaexpress.com/forum/images/flags/United%20States%203D.gif http://www.vbaexpress.com/forum/images/flags/states/Florida%203D.gif
http://www.vbaexpress.com/forum/images/buttons/quote.gif (http://www.vbaexpress.com/forum/newreply.php?do=newreply&p=79521) http://www.vbaexpress.com/forum/images/buttons/top.gif (http://www.vbaexpress.com/forum/showthread.php?t=10198#top) hatched850View Public Profile (http://www.vbaexpress.com/forum/member.php?u=2368)Send a private message to hatched850 (http://www.vbaexpress.com/forum/private.php?do=newpm&u=2368)Find More Posts by hatched850 (http://www.vbaexpress.com/forum/search.php?do=finduser&u=2368)
http://www.vbaexpress.com/forum/images/statusicon/post_new.gif Today, 06:02 PM #2 (http://www.vbaexpress.com/forum/showpost.php?p=79529&postcount=2) hatched850 (http://www.vbaexpress.com/forum/member.php?u=2368) vbmenu_register("postmenu_79529", true);
http://www.vbaexpress.com/forum/images/statusicon/user_online.gif VBAX Regular (http://www.vbaexpress.com/forum/faq.php?faq=new_faq_item#faq_faq_user_ranks)
Joined: May 2005
Posts: 21
Kb Entries: 0 (http://www.vbaexpress.com/kb)
I fixed it myself!!!! Are you guys not proud. Right clicked on property field for the look up I was trying to limit and went to the query and fixed set the criteria to [Forms]![community colleges]![District]. It works great.
Hatched850 :cloud9:
Local Time: 05:09 PM
Local Date: 11-14-2006
Location: http://www.vbaexpress.com/forum/images/flags/United%20States%203D.gif http://www.vbaexpress.com/forum/images/flags/states/Florida%203D.gif
In a form I have a combo box to select a county the next combo box is the city. I have a table with the counties and their cities. I want to make the city combo box in my form list only the cities for the county that was already selected. Does this make sense?
:help
as always you guys are the greatest!!
Hatched850 :cloud9:
Local Time: 05:09 PM
Local Date: 11-14-2006
Location: http://www.vbaexpress.com/forum/images/flags/United%20States%203D.gif http://www.vbaexpress.com/forum/images/flags/states/Florida%203D.gif
http://www.vbaexpress.com/forum/images/buttons/quote.gif (http://www.vbaexpress.com/forum/newreply.php?do=newreply&p=79521) http://www.vbaexpress.com/forum/images/buttons/top.gif (http://www.vbaexpress.com/forum/showthread.php?t=10198#top) hatched850View Public Profile (http://www.vbaexpress.com/forum/member.php?u=2368)Send a private message to hatched850 (http://www.vbaexpress.com/forum/private.php?do=newpm&u=2368)Find More Posts by hatched850 (http://www.vbaexpress.com/forum/search.php?do=finduser&u=2368)
http://www.vbaexpress.com/forum/images/statusicon/post_new.gif Today, 06:02 PM #2 (http://www.vbaexpress.com/forum/showpost.php?p=79529&postcount=2) hatched850 (http://www.vbaexpress.com/forum/member.php?u=2368) vbmenu_register("postmenu_79529", true);
http://www.vbaexpress.com/forum/images/statusicon/user_online.gif VBAX Regular (http://www.vbaexpress.com/forum/faq.php?faq=new_faq_item#faq_faq_user_ranks)
Joined: May 2005
Posts: 21
Kb Entries: 0 (http://www.vbaexpress.com/kb)
I fixed it myself!!!! Are you guys not proud. Right clicked on property field for the look up I was trying to limit and went to the query and fixed set the criteria to [Forms]![community colleges]![District]. It works great.
Hatched850 :cloud9:
Local Time: 05:09 PM
Local Date: 11-14-2006
Location: http://www.vbaexpress.com/forum/images/flags/United%20States%203D.gif http://www.vbaexpress.com/forum/images/flags/states/Florida%203D.gif