Search:     Advanced search
Browse by category:
Glossary | Contact Us

Database Knowledge Base / MS Access / How can I make my combo and list boxes faster?

How can I make my combo and list boxes faster?

Add comment
Views: 212
Votes: 6
Comments: 0
Include only fields from the record source that are absolutely
necessary. Extra fields can decrease combo or list box performance.

- Index the first field that is displayed in the combo or list box.

- Index any other fields used for criteria (such as when a combo or list
box is based on a criteria query ).

- In combo boxes, set the AutoExpand property to No if it is not needed.

- Create a default value for combo boxes. Combo boxes try to match
whatever is entered in them, so if there is no default value for the
combo box, the combo box tries to match a null value when it is first
opened. An example of a default value for a combo box is:

=[combobox].ItemData(0)

In the example above, [combobox] is the name of the combo box.

- Use unbound subforms to display data when there is a large number of
records.
Others in this Category
document When compacting an Microsoft Access database how do you control the ownership of the database?
document Where can I obtain a list of Access Basic Errors and their associated messages
document How do I access the recordset of a SUBform. I know how to clone the set of a form, but this doesn't work for subforms.
document How do I emulate the "Record X of Y" that Access displays in the navigation buttons
document How do I run an internal DOS command from within Access Basic, if I try x=Shell("copy file1 file2",1) I get a message "File not found".
document How we can perform MINUS (Oracle) Or EXCEPT (Maxdb) in MS Access?
document What is Data Mapping
document What is an Ad Hoc Query?



RSS