PC Review


Reply
Thread Tools Rate Thread

Color some values in combo box

 
 
JustinP
Guest
Posts: n/a
 
      4th Sep 2006
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)

 
Reply With Quote
 
 
 
 
=?Utf-8?B?V2F5bmUtSS1N?=
Guest
Posts: n/a
 
      4th Sep 2006
Hi Justin

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

Hope this helps

--
Wayne
Manchester, England.
Enjoy whatever it is you do


"JustinP" wrote:

> 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)
>
>

 
Reply With Quote
 
Douglas J. Steele
Guest
Posts: n/a
 
      4th Sep 2006
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
http://I.Am/DougSteele
(no private e-mails, please)


"JustinP" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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)
>



 
Reply With Quote
 
JustinP
Guest
Posts: n/a
 
      4th Sep 2006
I had a feeling this would be the case.

Thanks for your help.


Douglas J. Steele wrote:
> 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
> http://I.Am/DougSteele
> (no private e-mails, please)
>
>
> "JustinP" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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)
> >


 
Reply With Quote
 
William Hindman
Guest
Posts: n/a
 
      4th Sep 2006
....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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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)
>



 
Reply With Quote
 
JustinP
Guest
Posts: n/a
 
      4th Sep 2006
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 Hindman wrote:
> ...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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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)
> >


 
Reply With Quote
 
William Hindman
Guest
Posts: n/a
 
      5th Sep 2006
....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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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 Hindman wrote:
>> ...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" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > 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)
>> >

>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
combo box selection runs query to sum values in table not gettingparameter from combo box RCGUA Microsoft Access Form Coding 2 23rd Jul 2009 01:32 AM
Combo Box Values Not Sticking & Mult/ Combo Boxes in a WorkSheet questor Microsoft Excel Programming 1 15th Sep 2008 02:15 AM
Color some values in combo box JustinP Microsoft Access Forms 2 4th Sep 2006 04:59 PM
Listing values in a combo box depending on a previous combo box weircolin@googlemail.com Microsoft Access Form Coding 9 4th Aug 2006 12:48 PM
combo box values dependent on user's selection of another combo box jenn Microsoft Access 8 3rd Dec 2004 09:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:19 PM.