Solved

MS Access Form Link Combo Box

Posted on 2014-09-11
3
475 Views
Last Modified: 2014-09-11
I have two combo boxes on a form. Combo1 and Combo2.

Combo1 has a SQL statement as it's rowsource and works as expected.

I would like for Combo2 to be populated based on the value selected from Combo1.

Which Combo1 event property should I use?  

What should the Combo2 row source be?  
?? Syntax ???
Combo2.RowSource = SELECT Column1, Column 2 FROM Table2 WHERE Table1.SelectedColumn = Combo2.Selectedvalue  

I can do this in c# using ASP.NET. MS Access is somewhat different.
I have not used MS Access since Version 2.0
A few hints will do.  I taught MS Access at a local community college 15 years ago.

Thanks,
0
Comment
Question by:Dovberman
  • 2
3 Comments
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 500 total points
ID: 40317700
0
 

Author Comment

by:Dovberman
ID: 40317757
Thanks,

That's how I remember it. Would you believe that I am a Microsoft Alumni?  I wrote the first tech article on this subject while on the MS Access 1.0 support team in Charlotte in 1991. In fact, I initiated the term "Cascading Combo Boxes".
0
 

Author Closing Comment

by:Dovberman
ID: 40317760
Perfect.

Thanks,
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now