WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Drop down list box colour

 
Goto page Previous  1, 2, 3
   Home -> Office other -> Table Design RSS
Next:  WUS breaks on VistaSP1 after installing Access 20..  
Author Message
strive4peace

External


Since: Apr 04, 2006
Posts: 946



(Msg. 9) Posted: Thu Aug 14, 2008 10:52 pm
Post subject: Re: Drop down list box colour [Login to view extended thread Info.]
Archived from groups: microsoft>public>access>tablesdbdesign (more info?)

Hi Billiam (is that your name?)

in the design view of the form (you can do it in Form view but I feel it
is best to make design changes in design view):

click on the control

from the menu, choose Format, Conditional Formatting

for instance:
Expression Is --> [Active] = True
--> set Foreground Color, background color, Bold, Italic, Underline,
and/or enabled

~~~
for information on making a subform, read this:

Access Basics
8-part free tutorial that covers essentials in Access
http://www.AccessMVP.com/strive4peace


Warm Regards,
Crystal

*
(: have an awesome day Smile
*




Billiam wrote:
> I am so sorry, Crystal, I did not receive notification of your reply...
>
> I am afraid I am fairly new to all this, so bear with me
> please...........................okay pretty please???
>
> So if I make a seperate lookup/reference table, (Active, Suspended etc) base
> a form on it and drop it on my main form that would work? As to the
> conditional formatting, I do not know how to proceed--here is my best guess
> (you can LOL if you like!:
>
> I would add a conditional expression to the Validation Rule property of the
> table
> =IIf([Active] = "Yes", "Active (somehow add a hex value???ie green" "Active
> somehow greyed out"
> and somehow nest the other Status' in more IIf statements?????
> "strive4peace" wrote:
>
> I really do not know what to do, Crystal, any advice as to an examle posted
> anywhere???
>
>> How about using a subform with conditional formatting?
>>
>> Warm Regards,
>> Crystal
>>
>> remote programming and training
>>
>> Access Basics
>> 8-part free tutorial that covers essentials in Access
>> http://www.AccessMVP.com/strive4peace
>>
>> *
>> (: have an awesome day Smile
>> *
>>
>>
>>
>>
>> Billiam wrote:
>>> I have a bound drop down list box which displays 7 set choices: Active,
>>> Interim, On Leave, suspended, de-certifed, resigned and deceased. I would
>>> like to add colour to some of the choices, so the items are noticed more
>>> easily (ie the colour red is the background to the choice Suspended, the
>>> colour green is the background to the choice Active).
>>> Can this be done within the same drop down list box?
>>> Billiam
Back to top
Login to vote
Billiam

External


Since: Aug 27, 2007
Posts: 61



(Msg. 10) Posted: Sat Aug 16, 2008 7:59 pm
Post subject: Re: Drop down list box colour [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Crystal,

"strive4peace" wrote:

> Hi Billiam (is that your name?)

It's a nickname ...Bill+William=Billiam

I would just like to thank you sincerely for taking the time to help....I
have learned so much reading through these forums, and I find your resonses
extremely illuminating! So please except my sincerest thanks for taking the
time to help all of us newbies out--YOU ARE AWESOME!!!

I am going to give this a try on Monday so will let you know how I do!
Have a great weekend!

Billiam


> in the design view of the form (you can do it in Form view but I feel it
> is best to make design changes in design view):
>
> click on the control
>
> from the menu, choose Format, Conditional Formatting
>
> for instance:
> Expression Is --> [Active] = True
> --> set Foreground Color, background color, Bold, Italic, Underline,
> and/or enabled
>
> ~~~
> for information on making a subform, read this:
>
> Access Basics
> 8-part free tutorial that covers essentials in Access
> http://www.AccessMVP.com/strive4peace
>
>
> Warm Regards,
> Crystal
>
> *
> (: have an awesome day Smile
> *
>
>
>
>
> Billiam wrote:
> > I am so sorry, Crystal, I did not receive notification of your reply...
> >
> > I am afraid I am fairly new to all this, so bear with me
> > please...........................okay pretty please???
> >
> > So if I make a seperate lookup/reference table, (Active, Suspended etc) base
> > a form on it and drop it on my main form that would work? As to the
> > conditional formatting, I do not know how to proceed--here is my best guess
> > (you can LOL if you like!:
> >
> > I would add a conditional expression to the Validation Rule property of the
> > table
> > =IIf([Active] = "Yes", "Active (somehow add a hex value???ie green" "Active
> > somehow greyed out"
> > and somehow nest the other Status' in more IIf statements?????
> > "strive4peace" wrote:
> >
> > I really do not know what to do, Crystal, any advice as to an examle posted
> > anywhere???
> >
> >> How about using a subform with conditional formatting?
> >>
> >> Warm Regards,
> >> Crystal
> >>
> >> remote programming and training
> >>
> >> Access Basics
> >> 8-part free tutorial that covers essentials in Access
> >> http://www.AccessMVP.com/strive4peace
> >>
> >> *
> >> (: have an awesome day Smile
> >> *
> >>
> >>
> >>
> >>
> >> Billiam wrote:
> >>> I have a bound drop down list box which displays 7 set choices: Active,
> >>> Interim, On Leave, suspended, de-certifed, resigned and deceased. I would
> >>> like to add colour to some of the choices, so the items are noticed more
> >>> easily (ie the colour red is the background to the choice Suspended, the
> >>> colour green is the background to the choice Active).
> >>> Can this be done within the same drop down list box?
> >>> Billiam
>
Back to top
Login to vote
strive4peace

External


Since: Apr 04, 2006
Posts: 946



(Msg. 11) Posted: Sun Aug 17, 2008 11:23 am
Post subject: Re: Drop down list box colour [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Billiam (thanks for explaining that <smile>)

you're welcome

please let us know if it works out

Warm Regards,
Crystal

remote programming and training

Access Basics
8-part free tutorial that covers essentials in Access
http://www.AccessMVP.com/strive4peace

*
(: have an awesome day Smile
*




Billiam wrote:
> Hi Crystal,
>
> "strive4peace" wrote:
>
>> Hi Billiam (is that your name?)
>
> It's a nickname ...Bill+William=Billiam
>
> I would just like to thank you sincerely for taking the time to help....I
> have learned so much reading through these forums, and I find your resonses
> extremely illuminating! So please except my sincerest thanks for taking the
> time to help all of us newbies out--YOU ARE AWESOME!!!
>
> I am going to give this a try on Monday so will let you know how I do!
> Have a great weekend!
>
> Billiam
>
>
>> in the design view of the form (you can do it in Form view but I feel it
>> is best to make design changes in design view):
>>
>> click on the control
>>
>> from the menu, choose Format, Conditional Formatting
>>
>> for instance:
>> Expression Is --> [Active] = True
>> --> set Foreground Color, background color, Bold, Italic, Underline,
>> and/or enabled
>>
>> ~~~
>> for information on making a subform, read this:
>>
>> Access Basics
>> 8-part free tutorial that covers essentials in Access
>> http://www.AccessMVP.com/strive4peace
>>
>>
>> Warm Regards,
>> Crystal
>>
>> *
>> (: have an awesome day Smile
>> *
>>
>>
>>
>>
>> Billiam wrote:
>>> I am so sorry, Crystal, I did not receive notification of your reply...
>>>
>>> I am afraid I am fairly new to all this, so bear with me
>>> please...........................okay pretty please???
>>>
>>> So if I make a seperate lookup/reference table, (Active, Suspended etc) base
>>> a form on it and drop it on my main form that would work? As to the
>>> conditional formatting, I do not know how to proceed--here is my best guess
>>> (you can LOL if you like!:
>>>
>>> I would add a conditional expression to the Validation Rule property of the
>>> table
>>> =IIf([Active] = "Yes", "Active (somehow add a hex value???ie green" "Active
>>> somehow greyed out"
>>> and somehow nest the other Status' in more IIf statements?????
>>> "strive4peace" wrote:
>>>
>>> I really do not know what to do, Crystal, any advice as to an examle posted
>>> anywhere???
>>>
>>>> How about using a subform with conditional formatting?
>>>>
>>>> Warm Regards,
>>>> Crystal
>>>>
>>>> remote programming and training
>>>>
>>>> Access Basics
>>>> 8-part free tutorial that covers essentials in Access
>>>> http://www.AccessMVP.com/strive4peace
>>>>
>>>> *
>>>> (: have an awesome day Smile
>>>> *
>>>>
>>>>
>>>>
>>>>
>>>> Billiam wrote:
>>>>> I have a bound drop down list box which displays 7 set choices: Active,
>>>>> Interim, On Leave, suspended, de-certifed, resigned and deceased. I would
>>>>> like to add colour to some of the choices, so the items are noticed more
>>>>> easily (ie the colour red is the background to the choice Suspended, the
>>>>> colour green is the background to the choice Active).
>>>>> Can this be done within the same drop down list box?
>>>>> Billiam
Back to top
Login to vote
Billiam

External


Since: Aug 27, 2007
Posts: 61



(Msg. 12) Posted: Tue Aug 19, 2008 9:10 am
Post subject: Re: Drop down list box colour [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Crystal wrote:

> >> in the design view of the form (you can do it in Form view but I feel it
> >> is best to make design changes in design view):
> >>
> >> click on the control
> >>
> >> from the menu, choose Format, Conditional Formatting

By menu, do you mean the form's property sheet menu? If so, I do not see a
tab or area called conditional formatting...or do you mean to place the
conditional formatting expression in the Format area of the form property
sheet, or in the validation area?

Thanks,
Billiam
Back to top
Login to vote
Billiam

External


Since: Aug 27, 2007
Posts: 61



(Msg. 13) Posted: Tue Aug 19, 2008 10:45 am
Post subject: Re: Drop down list box colour [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Crystal,

If I right click while I am on the combo box I get the conditional
Formatting option. There are 3 conditions available and one default condition.

The default condition (if no other conditions are met) is working. The three
conditions I set up, are not.

1. Are there only three conditions allowed per combo box?

2. If so, can you combine more than one condition in a statement (for
example Suspended and de-certified have a red background within the same
condition expression?

3. If not, how do I add more conditions for the combobox?

4. The conditions which are not working are:

Condition 1
Expression Is [Active] = True
and I set the foreground & background colours, Bold and enabled.

Condition 2
Expression Is [Suspended] = True
and I set the background & foreground, Bold and enabled

I suspect the problem is I have included the Items list in the rowsource of
the combobox property sheet. Do they need to be in a lookup table instead?
There are 7 individual Statuses which *should* never change...

Thanks for any help!
Billiam

"strive4peace" wrote:

> Hi Billiam (thanks for explaining that <smile>)
>
> you're welcome
>
> please let us know if it works out
>
> Warm Regards,
> Crystal
>
> remote programming and training
>
> Access Basics
> 8-part free tutorial that covers essentials in Access
> http://www.AccessMVP.com/strive4peace
>
> *
> (: have an awesome day Smile
> *
>
>
>
>
> Billiam wrote:
> > Hi Crystal,
> >
> > "strive4peace" wrote:
> >
> >> Hi Billiam (is that your name?)
> >
> > It's a nickname ...Bill+William=Billiam
> >
> > I would just like to thank you sincerely for taking the time to help....I
> > have learned so much reading through these forums, and I find your resonses
> > extremely illuminating! So please except my sincerest thanks for taking the
> > time to help all of us newbies out--YOU ARE AWESOME!!!
> >
> > I am going to give this a try on Monday so will let you know how I do!
> > Have a great weekend!
> >
> > Billiam
> >
> >
> >> in the design view of the form (you can do it in Form view but I feel it
> >> is best to make design changes in design view):
> >>
> >> click on the control
> >>
> >> from the menu, choose Format, Conditional Formatting
> >>
> >> for instance:
> >> Expression Is --> [Active] = True
> >> --> set Foreground Color, background color, Bold, Italic, Underline,
> >> and/or enabled
> >>
> >> ~~~
> >> for information on making a subform, read this:
> >>
> >> Access Basics
> >> 8-part free tutorial that covers essentials in Access
> >> http://www.AccessMVP.com/strive4peace
> >>
> >>
> >> Warm Regards,
> >> Crystal
> >>
> >> *
> >> (: have an awesome day Smile
> >> *
> >>
> >>
> >>
> >>
> >> Billiam wrote:
> >>> I am so sorry, Crystal, I did not receive notification of your reply...
> >>>
> >>> I am afraid I am fairly new to all this, so bear with me
> >>> please...........................okay pretty please???
> >>>
> >>> So if I make a seperate lookup/reference table, (Active, Suspended etc) base
> >>> a form on it and drop it on my main form that would work? As to the
> >>> conditional formatting, I do not know how to proceed--here is my best guess
> >>> (you can LOL if you like!:
> >>>
> >>> I would add a conditional expression to the Validation Rule property of the
> >>> table
> >>> =IIf([Active] = "Yes", "Active (somehow add a hex value???ie green" "Active
> >>> somehow greyed out"
> >>> and somehow nest the other Status' in more IIf statements?????
> >>> "strive4peace" wrote:
> >>>
> >>> I really do not know what to do, Crystal, any advice as to an examle posted
> >>> anywhere???
> >>>
> >>>> How about using a subform with conditional formatting?
> >>>>
> >>>> Warm Regards,
> >>>> Crystal
> >>>>
> >>>> remote programming and training
> >>>>
> >>>> Access Basics
> >>>> 8-part free tutorial that covers essentials in Access
> >>>> http://www.AccessMVP.com/strive4peace
> >>>>
> >>>> *
> >>>> (: have an awesome day Smile
> >>>> *
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> Billiam wrote:
> >>>>> I have a bound drop down list box which displays 7 set choices: Active,
> >>>>> Interim, On Leave, suspended, de-certifed, resigned and deceased. I would
> >>>>> like to add colour to some of the choices, so the items are noticed more
> >>>>> easily (ie the colour red is the background to the choice Suspended, the
> >>>>> colour green is the background to the choice Active).
> >>>>> Can this be done within the same drop down list box?
> >>>>> Billiam
>
Back to top
Login to vote
strive4peace

External


Since: Apr 04, 2006
Posts: 946



(Msg. 14) Posted: Tue Aug 19, 2008 6:55 pm
Post subject: Re: Drop down list box colour [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Billiam,

"1. Are there only three conditions allowed per combo box? "

actually, there are 4 -- you have the normal condition too

" 2. If so, can you combine more than one condition..."

yes, choose --> Expression Is

and then the condition would be something like this:

[fieldname1] = "value1" AND [fieldname2] = "value2"

"3. If not, how do I add more conditions for the combobox?"

you cannot have more than 3 conditions and the normal formatting

"4. The conditions which are not working are:"

What is the data type for [Active] and [Suspended] ? If those
conditions aren't working, then they are probably text, not yes/no (as
they should be)

> "I suspect the problem is I have included the Items list in the
> rowsource of the combobox property sheet.
> Do they need to be in a lookup table instead? "

They must be in the form RecordSource


Warm Regards,
Crystal

remote programming and training

Access Basics
8-part free tutorial that covers essentials in Access
http://www.AccessMVP.com/strive4peace

*
(: have an awesome day Smile
*




Billiam wrote:
> Hi Crystal,
>
> If I right click while I am on the combo box I get the conditional
> Formatting option. There are 3 conditions available and one default condition.
>
> The default condition (if no other conditions are met) is working. The three
> conditions I set up, are not.
>
> 1. Are there only three conditions allowed per combo box?
>
> 2. If so, can you combine more than one condition in a statement (for
> example Suspended and de-certified have a red background within the same
> condition expression?
>
> 3. If not, how do I add more conditions for the combobox?
>
> 4. The conditions which are not working are:
>
> Condition 1
> Expression Is [Active] = True
> and I set the foreground & background colours, Bold and enabled.
>
> Condition 2
> Expression Is [Suspended] = True
> and I set the background & foreground, Bold and enabled
>
> I suspect the problem is I have included the Items list in the rowsource of
> the combobox property sheet. Do they need to be in a lookup table instead?
> There are 7 individual Statuses which *should* never change...
>
> Thanks for any help!
> Billiam
>
> "strive4peace" wrote:
>
>> Hi Billiam (thanks for explaining that <smile>)
>>
>> you're welcome
>>
>> please let us know if it works out
>>
>> Warm Regards,
>> Crystal
>>
>> remote programming and training
>>
>> Access Basics
>> 8-part free tutorial that covers essentials in Access
>> http://www.AccessMVP.com/strive4peace
>>
>> *
>> (: have an awesome day Smile
>> *
>>
>>
>>
>>
>> Billiam wrote:
>>> Hi Crystal,
>>>
>>> "strive4peace" wrote:
>>>
>>>> Hi Billiam (is that your name?)
>>> It's a nickname ...Bill+William=Billiam
>>>
>>> I would just like to thank you sincerely for taking the time to help....I
>>> have learned so much reading through these forums, and I find your resonses
>>> extremely illuminating! So please except my sincerest thanks for taking the
>>> time to help all of us newbies out--YOU ARE AWESOME!!!
>>>
>>> I am going to give this a try on Monday so will let you know how I do!
>>> Have a great weekend!
>>>
>>> Billiam
>>>
>>>
>>>> in the design view of the form (you can do it in Form view but I feel it
>>>> is best to make design changes in design view):
>>>>
>>>> click on the control
>>>>
>>>> from the menu, choose Format, Conditional Formatting
>>>>
>>>> for instance:
>>>> Expression Is --> [Active] = True
>>>> --> set Foreground Color, background color, Bold, Italic, Underline,
>>>> and/or enabled
>>>>
>>>> ~~~
>>>> for information on making a subform, read this:
>>>>
>>>> Access Basics
>>>> 8-part free tutorial that covers essentials in Access
>>>> http://www.AccessMVP.com/strive4peace
>>>>
>>>>
>>>> Warm Regards,
>>>> Crystal
>>>>
>>>> *
>>>> (: have an awesome day Smile
>>>> *
>>>>
>>>>
>>>>
>>>>
>>>> Billiam wrote:
>>>>> I am so sorry, Crystal, I did not receive notification of your reply...
>>>>>
>>>>> I am afraid I am fairly new to all this, so bear with me
>>>>> please...........................okay pretty please???
>>>>>
>>>>> So if I make a seperate lookup/reference table, (Active, Suspended etc) base
>>>>> a form on it and drop it on my main form that would work? As to the
>>>>> conditional formatting, I do not know how to proceed--here is my best guess
>>>>> (you can LOL if you like!:
>>>>>
>>>>> I would add a conditional expression to the Validation Rule property of the
>>>>> table
>>>>> =IIf([Active] = "Yes", "Active (somehow add a hex value???ie green" "Active
>>>>> somehow greyed out"
>>>>> and somehow nest the other Status' in more IIf statements?????
>>>>> "strive4peace" wrote:
>>>>>
>>>>> I really do not know what to do, Crystal, any advice as to an examle posted
>>>>> anywhere???
>>>>>
>>>>>> How about using a subform with conditional formatting?
>>>>>>
>>>>>> Warm Regards,
>>>>>> Crystal
>>>>>>
>>>>>> remote programming and training
>>>>>>
>>>>>> Access Basics
>>>>>> 8-part free tutorial that covers essentials in Access
>>>>>> http://www.AccessMVP.com/strive4peace
>>>>>>
>>>>>> *
>>>>>> (: have an awesome day Smile
>>>>>> *
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Billiam wrote:
>>>>>>> I have a bound drop down list box which displays 7 set choices: Active,
>>>>>>> Interim, On Leave, suspended, de-certifed, resigned and deceased. I would
>>>>>>> like to add colour to some of the choices, so the items are noticed more
>>>>>>> easily (ie the colour red is the background to the choice Suspended, the
>>>>>>> colour green is the background to the choice Active).
>>>>>>> Can this be done within the same drop down list box?
>>>>>>> Billiam
Back to top
Login to vote
Billiam

External


Since: Aug 27, 2007
Posts: 61



(Msg. 15) Posted: Thu Aug 21, 2008 7:44 am
Post subject: Re: Drop down list box colour [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Crystal,

"strive4peace" wrote:

> What is the data type for [Active] and [Suspended] ? If those
> conditions aren't working, then they are probably text, not yes/no (as
> they should be)

I have a Field called "Status", text datatype, which is where the
Instructor's status is recorded from the bound combobox which supplies the
options. I decided against using a lookup table as the options have never
changed, and an Instructor can only have one status at a time. Do you still
think that I need to use Yes/No, and if so, would I have a field then for
each option in a lookup table???

Have a great day, and of course many thanks for your help!
Billiam
Back to top
Login to vote
strive4peace

External


Since: Apr 04, 2006
Posts: 946



(Msg. 16) Posted: Thu Aug 21, 2008 8:40 pm
Post subject: Re: Drop down list box colour [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Billiam,

no, Status is dynamic. If you have no need to know when particular
status happened, then keeping it in the table is ok

"I decided against using a lookup table as the options have never changed"

I do not understand...

generally Status is one of set choices -- it makes sense to have a teble
to supply them -- and use StatusID, a numeric foreign key, in your table
instead of storing the actual text value

I asked questions about [Active] and [Suspended] -- but you answered
with a question about [Status] -- are your issue resolved?


Warm Regards,
Crystal

remote programming and training

Access Basics
8-part free tutorial that covers essentials in Access
http://www.AccessMVP.com/strive4peace

*
(: have an awesome day Smile
*




Billiam wrote:
> Hi Crystal,
>
> "strive4peace" wrote:
>
>> What is the data type for [Active] and [Suspended] ? If those
>> conditions aren't working, then they are probably text, not yes/no (as
>> they should be)
>
> I have a Field called "Status", text datatype, which is where the
> Instructor's status is recorded from the bound combobox which supplies the
> options. I decided against using a lookup table as the options have never
> changed, and an Instructor can only have one status at a time. Do you still
> think that I need to use Yes/No, and if so, would I have a field then for
> each option in a lookup table???
>
> Have a great day, and of course many thanks for your help!
> Billiam
Back to top
Login to vote
Display posts from previous:   
       Home -> Office other -> Table Design All times are: Eastern Time (US & Canada) (change)
Goto page Previous  1, 2, 3
Page 2 of 3

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
 Office
  Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET