%dim crumb crumb="Fill Fields From Combo" Crumb2="Fill Form Fields From Combo Box" crumb1="Visual Basic Load Form Fields Using Combo Box" %>
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
<% 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.
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.
MS Access 2003
<% Response.write "Copyright 2000-" & year(now) & " Blue Claw Database Design" %>
MS Access 2013, Access 2010 & Microsoft Office 2007