<%dim crumb crumb="Continuous Form Dependent Combo Box" Crumb2="Dependent Combo Box Control" crumb1="Dependent Combo Box Continuous Forms" %> Continuous Form Dependent Combo Box Download
Home  Fees/Services  Access 2010 Template  Access Tutorial  Access Download  Articles  Search  Contact  Privacy  Links

<%if len(crumb2)>2 then response.write crumb2 else response.write ">

Open Email Using SendObject Access Download

User Inactivity Logout VBA Code

Disable Shift Key Demo

Send Email Microsoft Access Tutorial Download (Advanced)

Sequential Counter in Query

Multi Select List Box Query Parameters

Row Level Data Security

Programming MS Access Security Alternative

Single User Inventory Calculations Download

How To Perform Multi-User Inventory Calculations

Make Dependent Combo Box Code MS Access Tutorial

Union Query Example (Simple)

Union Query (Advanced) Access Tutorial

How To Fill Fields From Combo Box

Use Global Variables as Parameters

Continuous Form Dependent Combo Box

How To Program Continuous-Continuous Master/Detail Forms

Access Bar Chart / Bar Graph

Programming Crosstab Query Example

TransferText & OutputTo Microsoft Access

DoCmd.OpenForm & OpenArgs VBA Example

Running Sum Query Method

Choose Command Dynamic SQL Order By

Access Conditional Format

Access Report Banding

Popup Form Control Method

<% gnum="1275041959" %>

Continuous Form Dependent Combo Box

Once you have mastered the simple case of a dependent combo box on a single-record form it is time to move up to having a dependent combo box on a multi-record or continuous form layout.

We haven't come up with a truly seamless solution but we have managed to use a small trick to make the continuous form dependent combo box work. In this downloadable example we overlay a simple text field on top of the combo box text area.  This overlay technique essentially hides the combo box records that don't have focus.  The text field is a dlookup for the Student Name based on the Student_ID selected in the combo box dropdown.

You can add additional code to the example to have the combo box automatically drop down when the user enters it.

I think the only problem with this method is the blinking of all the combo box fields when a value is changed - maybe this is just on my computer since it is slow.

Try out our Continuous Form Dependent Combo Box example.

Continuous Form Dependent Combo Box

Perhaps after you try this method for dependent combo box on continuous forms you'll come up with some variations to the method or a completely different method.  We would be happy to post your solutions on our website.

Also, this method can be extended to multiple, cascading dependent combo boxes as well as list boxes. We have run this code on all versions of Microsoft Access including Access 2010.

Microsoft Office:
MS Access 2003
Access 2007
Access 2010
Access 2013
Access 2016
<% dim rnum Randomize rnum = Int(Rnd * 10) + 1 response.write " Updated On " & now-rnum %>

Contact Information

<% Response.write "Copyright 2000-" & year(now) & " Blue Claw Database Design" %>

MS Access 2013, Access 2010 & Microsoft Office 2007