Solved

MS Access Form Link Combo Box

Posted on 2014-09-11
3
485 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

752 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