Combobox with a little twist

D

Daniel P

Hello

Is it possible to have a combobox list all the items from a specific field in a table and also such items as "Not Applicable"

I want to list all the items in the status field of my table but also want to offer certain other options such as "Not Applicable"

Thank you for your help

Daniel
 
M

M Skabialka

I just did that myself:

SELECT "ALL" AS CN, "All Contracts" AS DESCR FROM tblContract ORDER BY
tblContract.ContractNumber UNION SELECT DISTINCT tblContract.ContractNumber,
tblContract.RateName FROM tblContract;

Combo results:
CN DESCR
== =====
11845 CCA
11921 CAS
ALL All Contracts


If there are a bunch you could put them in another table and UNION that
instead.

HTH
Mich


Daniel P said:
Hello,

Is it possible to have a combobox list all the items from a specific field
in a table and also such items as "Not Applicable".
I want to list all the items in the status field of my table but also want
to offer certain other options such as "Not Applicable".
 

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