combo box

C

Chris

Is there a way to subdue lines in a combo box based on condition?

Ex: My combo shows all clients. One column indicates "Inactive" for those
that are inactive, others are blank. I would like those "Inactive" lines to
be a different color from the blank lines.

Is there a way?
 
F

fredg

Is there a way to subdue lines in a combo box based on condition?

Ex: My combo shows all clients. One column indicates "Inactive" for those
that are inactive, others are blank. I would like those "Inactive" lines to
be a different color from the blank lines.

Is there a way?

No....

One possible solution would be to filter out of the combo box all
clients that are inactive so they don't even show.
You would use a query as the combo box rowsource and set the query
criteria to
<> "Inactive"
to show all Active members if the value is text, or
0
if the value is a check box true false value, and unchecked means
'Active'.
 
C

Chris

Thanks to you both. I did filter, but I want them to show in this case.

Wish it were so.
--
Thanks for your help,
Chrissy


Ken Snell (MVP) said:
No, this cannot be done in a combo box.
 

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