<%dim crumb crumb="Fill Fields From Combo" Crumb2="Fill Form Fields From Combo Box" crumb1="Visual Basic Load Form Fields Using Combo Box" %> Fill Multiple Fields From Combo Box
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="6412667351" %>

Fill Multiple Form Fields From Combo Box

The Microsoft Access combo box programming example shows you how you can include up to nine different fields in a combo box select query and use these fields to fill in other fields on your data entry forms. Note that this example is for single-record form layouts.  In the downloaded example note the Data Source property for the combo box and the Default Value properties for the Room Number and Telephone Number fields.

You can combine this technique with the dependent combo box example to add additional capability to your Access forms.  Make sure the Column Count property of the combo box matches the number of fields in the select statement for the combo box.  If you indicate less fields than you have selected then assigned the values to other fields simply won't work and you won't get any error message. Click here to download the combo box/form fields MS Access example.

combo box fill form fields example

More complex variations of this method exist for Access continuous data forms.  The fact that only a single record existing in the design and functioning of a continuous form makes apply dependency a bit more complex.  See how dependent box boxes are handled on continuous forms.

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