PC Review


Reply
Thread Tools Rate Thread

Combo Box Value Change Color or ????

 
 
=?Utf-8?B?SXZhbiBHcm96bmV5?=
Guest
Posts: n/a
 
      23rd Apr 2007
I have a combo box where I change the rowsource based on information from the
form I am working with.

If the person has a medical plan they get certain benefits by doing things
to stay healthy. Their spouse can do so as well.

So if the employee is on the Med plan then certain things show up in their
drop down, different if they are not on the Med plan, and different yet if
the employee is on the Med plan and their spouse is as well.

Each person is allowed one physical per year. Other things twice a year, etc.

Okay, what the end user wants is a way to display all the items they are
"allowed" but if they had their physical, then have it grayed out or in red
or ??? in the drop down of the combo box. I can not display the item but as
for displaying it another way, I have played with it but have had no luck.

tia

Vanya

 
Reply With Quote
 
 
 
 
Marshall Barton
Guest
Posts: n/a
 
      23rd Apr 2007
Ivan Grozney <stormovick (ditch) @hotmail.com> wrote:

>I have a combo box where I change the rowsource based on information from the
>form I am working with.
>
>If the person has a medical plan they get certain benefits by doing things
>to stay healthy. Their spouse can do so as well.
>
>So if the employee is on the Med plan then certain things show up in their
>drop down, different if they are not on the Med plan, and different yet if
>the employee is on the Med plan and their spouse is as well.
>
>Each person is allowed one physical per year. Other things twice a year, etc.
>
>Okay, what the end user wants is a way to display all the items they are
>"allowed" but if they had their physical, then have it grayed out or in red
>or ??? in the drop down of the combo box. I can not display the item but as
>for displaying it another way, I have played with it but have had no luck.



Sorry, but there is no Access capability to affect the
colors in a combo box list.

If this is really important, you could use a continuous
subform and a text box to simulate a combo box, but it will
take a significant amount of fairly tricky code. Of course
this kind of thing can not be used in a datasheet or
continuous form.

--
Marsh
MVP [MS Access]
 
Reply With Quote
 
 
 
 
=?Utf-8?B?SXZhbiBHcm96bmV5?=
Guest
Posts: n/a
 
      23rd Apr 2007
Marsh,

Thanks! I didn't think so and it sounds like it would be ton of brain
damage for little gain.

Vanya

"Marshall Barton" wrote:

> Ivan Grozney <stormovick (ditch) @hotmail.com> wrote:
>
> >I have a combo box where I change the rowsource based on information from the
> >form I am working with.
> >
> >If the person has a medical plan they get certain benefits by doing things
> >to stay healthy. Their spouse can do so as well.
> >
> >So if the employee is on the Med plan then certain things show up in their
> >drop down, different if they are not on the Med plan, and different yet if
> >the employee is on the Med plan and their spouse is as well.
> >
> >Each person is allowed one physical per year. Other things twice a year, etc.
> >
> >Okay, what the end user wants is a way to display all the items they are
> >"allowed" but if they had their physical, then have it grayed out or in red
> >or ??? in the drop down of the combo box. I can not display the item but as
> >for displaying it another way, I have played with it but have had no luck.

>
>
> Sorry, but there is no Access capability to affect the
> colors in a combo box list.
>
> If this is really important, you could use a continuous
> subform and a text box to simulate a combo box, but it will
> take a significant amount of fairly tricky code. Of course
> this kind of thing can not be used in a datasheet or
> continuous form.
>
> --
> Marsh
> MVP [MS Access]
>

 
Reply With Quote
 
Marshall Barton
Guest
Posts: n/a
 
      23rd Apr 2007
Ivan Grozney <stormovick (ditch) @hotmail.com> wrote:

>Marsh,
>
> Thanks! I didn't think so and it sounds like it would be ton of brain
>damage for little gain.
>
>Vanya



Excellent summary of the situation (unless Stephen Lebans
decides it's an interesting challenge ;-)

--
Marsh
MVP [MS Access]
 
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
Re: Combo box value determined by the value of another combo box fredg Microsoft Access 10 27th Apr 2011 12:03 AM
change check box value based on combo box value DrONDeN Microsoft Access Form Coding 6 10th Aug 2007 04:32 PM
lookup value for combo box based on another combo box value? =?Utf-8?B?RGF2aWQ=?= Microsoft Access Forms 2 18th Jan 2006 04:26 PM
Default value in combo box = value of another combo box? Geordie Microsoft Access Form Coding 1 16th Mar 2004 11:02 PM
text color change if value is true, another color if value is false =?Utf-8?B?TWljaGVsbGUgU2hlbGRvbg==?= Microsoft Excel Misc 4 26th Feb 2004 05:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:13 AM.