Home  Fees/Services  Access Templates  Tutorials  Tutorial Downloads  Articles  Search  Contact  Privacy  Links

Faster ComboBox
Access Combo Box

Updated On 2/19/2018 1:03:27 AM

Combo Box Tutorial

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

Faster Combo Box

If you are running your Microsoft Access database in a Front End /Back End setup across a network you will find that long combo boxes can take too long to display and are too slow. And the more combo boxes you have on the forms the longer your forms will take to load and the slower your entire database, and network will be.

Our programming team has 15 members containing a wide variety of technical database knowledge and programming experience. Experts in small business management and scientific database programming.

Did you know you don't need to move to SQL/Server to run and manage your Access database on the net. There are many alternative solutions. Among them are Amazon's AWS cloud services and various hosting services in nearly every state.

Below is a general concept to the solution.  You'll probably need to extend the complexity it this concept if you are using standard lookup lists for your combo boxes, i.e. an ID field followed by a text field for the actual lookup value.   So, this is a simplified example where you have a table called My_Words, and a Combo Box on the form called Field1_Combo.  The key is to not have a Row Source defined for the Combo Box.  The row source will be defined as the user starts typing letters.  Once they get to 3 letters then the row source of the combo box will be defined and the combo box will be told to dropdown. 

Private Sub Field1_Combo_Change()
Dim strText As String

strText = Nz(Me.Field1_Combo.Text, "")

If Len(strText) > 2 Then
    Me.Field1_Combo.RowSource = "Select keywords from " _
    & "My_Words " _
    & "where keywords like '" & strText & "*' " _
    & "order by keywords"
End If
End Sub

The reason we are waiting until the 3rd character is typed is to limit the number of rows returned by the row source query.  Depending on the data contained in your lookup table you may need more, less, or no characters to begin the process.

More Performance Improvement Methods for Microsoft Access

  • Speed Up Form Opening in Microsoft Access  This is usually referred to as a pseudo index and can significantly improve the performance of slow ODBC queries by adding an index on field references in

  • Access Form Examples  Improve Form Performance and Opening Speed Form performance is an important component of creating a user friendly interface to your programs.

  • Table Design for Access  Generally lookup tables will be included in the frontend of the database to improve database performance in a frontend/backend combination

A Blue Claw Database Design Article:

ODBC Links To Other DB Systems

Blue Claw Database Design Downloadable Tutorial:
Use Global Variables as Parameters  

A Blue Claw Software Design Template:

Farmer's Feed Inventory Tracking Database

Contact Information

Copyright 2000-2018 Blue Claw Database Design