Adding 'All' option to combo box

S

Steve Price

Hi,

I want to have a combo box on a form which pulls its data
from a table. In addition to this I want it to have
an 'All' option.

Is this possible, and if so how?
 
B

Bas Cost Budde

Steve said:
Hi,

I want to have a combo box on a form which pulls its data
from a table. In addition to this I want it to have
an 'All' option.

Is this possible, and if so how?
rowsource for the combobox:
select yourfield from yourtable UNION select distinct "(all)" from yourtable

You need handling for the (all) selection
 

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