Open Email Using SendObject Access Download
User Inactivity Logout VBA Code
Disable Shift Key Demo
Send Email Microsoft Access Tutorial Download (Advanced)
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 (Advanced) Access Tutorial
How To Fill Fields From Combo Box
Dependent Combo Box
The Access dependent combo box is one of the first techniques a new programmer must master. Hopefully the downloadable example will save you a lot of time figuring out your first dependent dropdown list code.
Microsoft Access is a fully capable database and it's primary limitations is the number of concurrent users it will support. Generally, we recommend a limit of 10 to 15 users.
We create databases large and small. Some of our databases help run entire small businesses. We also handle unique businesses such as flyrod manufacturing, cheese making, marina management, and cable tv inventory.
This example demonstrates the tables, queries and form programming needed to setup a
combo box dropdown list dependent on the values in another combo box.
Here is a snapshot of the code contained in the database:
Main combo after update event:
Private Sub Advisor_Combo_AfterUpdate()
Record source for the dependent combo:
SELECT M_Students.Student FROM M_Students WHERE (((M_Students.Advisor_ID)=[Forms]![F_Combo]![Advisor_Combo]))
You will also need an on current event which also requeries the dependent combo box. This is needed to coordinate the dependency when going from record to record in data review mode.
Download our Access Dependent Combo Box programming example.
MS Access 2003
Copyright 2000-2017 Blue Claw Database Design
MS Access 2013, Access 2010 & Microsoft Office 2007