Add an entry to a ComboBox

X

XP

I have an unbound combobox on a form. The row source is a "Select" query
against a table and this works fine; however, I also need an additional
choice in the list for the box called "All Colors".

Currently my query reads something like: SELECT DISTINCT Color FROM
tblColors;"
and this returns: Red; Green; Orange; Blue.

I want the list to appear like: ALL COLORS; Red; Green; Orange; Blue.

Please advise as to how I can accomplish this. Should I restructure my SQL?
Should I use VBA to add the extra item?

Please post example SQL and/or example VBA that will do this, and thanks much.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top