Solved

MS Access Form Link Combo Box

Posted on 2014-09-11
3
478 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 120

Accepted Solution

by:
Rey Obrero (Capricorn1) 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

805 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