Home Fees/Services Access Examples Tutorials  Access Download  Articles  Search  Contact  Privacy  Links
Combo Box
List Box, Lookup Lists,
Dropdown List VBA Examples
Dropdown List Based on Table Microsoft Access 2007 Tutorial




Fill Form Field Best Code
Combo Box: All/Any
Cascading Combo Boxes
Fill In Other Form Fields
Lookup List-Correct Way
Lookup Lists in One Table
Speed up Combo Boxes
Table-based Combo Box
Yes/no Drop Down List


Combo Box Based on Table

Lookup Lists Based on Values Stored in a Table

Now we get into real lookup lists.  In our simplistic example we are going to store methods of shipping widgets to the customer.

We create a table called L_Shipping_Methods (go to the Table Design button to see why we name things the way we do).

Here's the design of the table:

 Lookup Lists From Database Table

Here is the data in the table: 

Table-Based Combo Boxes

You see above my first mistake of many.  I didn't make the field size big enough to store United Parcel Service.

Now you are ready to put the combo box in your form.  Use the combo box wizard as in example one but choose to populate from a Table.  Then, select the table; choose the control and you are done.

Here is the finished combo box with the properties sheet showing:

Microsoft Access Combo Box

That was pretty simple to do and that is how 95% of MS Access users/developers setup a combo box.  This method will work great for small databases containing less than 1,000 records.  However, I have never used the lookup list/combo box shown in the example - nor anything like it.  The reason is - because it breaks one of my cardinal rules of database design - no data should be duplicated in the database!  Using combo boxes designed like above will make the size of your database increase rapidly, make the database slower than it should be, and increase the probability that the database will become corrupted.




Site Search:

Custom Search



New DB Templates

Order Management System

New Tutorials

Send Email From Access Via Gmail


Templates, Examples & Case Studies

Order Management Software

Warehouse Inventory Software

Interior Design Project Management Solution

Contact Management Database Application

Construction Project Management

Lease Contract Management

Livestock Feed Inventory

CRM/Customer Relationships Management

Order Processing System

PM/Preventive Maintenance

Work Order Software

Real Estate Marketing

Reservations Management

Asbestos Survey Management System

Document Revision Management

HOA Database Template

Loan Processing Management

Student Grant Management Software

Personnel Agency Database

Prescription Assistance Plan Management

Subscription Order Management Software

Corporate Document Management Application







Contact Information

Custom Software Development
Microsoft Access 2007 2003 2000 All Windows Versions