Color some values in combo box

  • Thread starter Thread starter JustinP
  • Start date Start date
J

JustinP

Is it possible to color some of the values in a combo box one color
based on a criteria and others another color?

To be more specific about what I want to do:

Color all the records in the combo box that are redundant, red (i.e.
If Me![Redundant] = Yes)
 
Hi Justin

Use the "conditional formating" option - it's on the Fortmat Menu.

Hope this helps
 
It's not possible.

You could employ Conditional Formatting in a form in Datasheet view, and use
that as a subform to simulate a list box with multiple colours, but that's
about it with the controls available in Access.

There might be 3rd party tools that can do it, but I'm afraid I don't know
of any.
 
I had a feeling this would be the case.

Thanks for your help.

It's not possible.

You could employ Conditional Formatting in a form in Datasheet view, and use
that as a subform to simulate a list box with multiple colours, but that's
about it with the controls available in Access.

There might be 3rd party tools that can do it, but I'm afraid I don't know
of any.

--
Doug Steele, Microsoft Access MVP

(no private e-mails, please)


JustinP said:
Is it possible to color some of the values in a combo box one color
based on a criteria and others another color?

To be more specific about what I want to do:

Color all the records in the combo box that are redundant, red (i.e.
If Me![Redundant] = Yes)
 
....if you are working with a full installs rather than a runtime, then
Lebans has a solution at http://www.lebans.com/vb_listbox.htm that provides
conditional formatting in a list/combo on a per line basis ...he uses a
control in a wizard to allow this which is why it won't work on a runtime
....hth

William Hindman
 
This is a database I am sending out to clients with next to no
knowledge of database design. I want them to be able to just open the
..mde and not have to do anything else. Is this going to be a problem
using this solution?

Thanks for you help.


William said:
...if you are working with a full installs rather than a runtime, then
Lebans has a solution at http://www.lebans.com/vb_listbox.htm that provides
conditional formatting in a list/combo on a per line basis ...he uses a
control in a wizard to allow this which is why it won't work on a runtime
...hth

William Hindman

JustinP said:
Is it possible to color some of the values in a combo box one color
based on a criteria and others another color?

To be more specific about what I want to do:

Color all the records in the combo box that are redundant, red (i.e.
If Me![Redundant] = Yes)
 
....sounds just like most clients ...look at the sample lebans provides
....the conditional formatting is set by you, not the user unless you code it
that way ...as long as they have a full install, they won't know the
difference.

William Hindman

JustinP said:
This is a database I am sending out to clients with next to no
knowledge of database design. I want them to be able to just open the
.mde and not have to do anything else. Is this going to be a problem
using this solution?

Thanks for you help.


William said:
...if you are working with a full installs rather than a runtime, then
Lebans has a solution at http://www.lebans.com/vb_listbox.htm that
provides
conditional formatting in a list/combo on a per line basis ...he uses a
control in a wizard to allow this which is why it won't work on a runtime
...hth

William Hindman

JustinP said:
Is it possible to color some of the values in a combo box one color
based on a criteria and others another color?

To be more specific about what I want to do:

Color all the records in the combo box that are redundant, red (i.e.
If Me![Redundant] = Yes)
 

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

Back
Top