Solved

MS Access Form Link Combo Box

Posted on 2014-09-11
3
466 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
Comment Utility
0
 

Author Comment

by:Dovberman
Comment Utility
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
Comment Utility
Perfect.

Thanks,
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Suggested Solutions

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…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

762 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

11 Experts available now in Live!

Get 1:1 Help Now