<% dim yahoo yahoo=1 %> <%dim crumb crumb="Best Way to Fill Form Field" crumb2="Fill Second Field from Combo Box" %> Fill Two or More Form Fields via Combo Box - Access Database
Home  Fees/Services  Access Templates  Tutorials  Tutorial Downloads  Articles  Search  Contact  Privacy  Links

<% response.write crumb2 %>
Access Combo Box


<% Response.write "Updated On " & now-5 %>

Combo Box Tutorial
 HomeMS Access TutorialsCombo Box Tutorial <% response.write "> " & crumb%>






Combo Box Tutorials
Fill Form Field Code
Combo Box: All/Any
Dependent DropDown
Cascading Combo Box
ComboBox Multiple Items
Lookup List Best Way
Lookup Lists 1 Table
Faster Combo Boxes
Table-based Combos
Y/N Drop Down List
Dynamic List Box


A Better Way to Fill Form Field from Combo Box

Save Multiple Values From Lookup Lists

Here's a better way to fill a field that gets its value from a combo box.  Below, we are getting the shipper's account number from the Shipper_Combo field (3rd column in the list, 2nd column counting from zero).  Notice the Control Source for the Account text box: =[Shipper_Combo].column(2).

So,  now you know the correct way to fill in a text field from values in a combo box.  No visual basic code is required!

This same technique with minor modifications can be used to display numerous fields from dropdown list boxes on the form in unbound text fields.

Download an Access database which demonstrates this Combo Box/Text Field feature. Here's an image of the demonstration download:

Download Fill Form Fields Example

Additional Information Dealing with Fields on Access Forms:

 

New! Download Access example of Filling Data Fields From Combo Box.














Contact Information

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