A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Conditional Formatting if the field contains a specific number



 
 
Thread Tools Display Modes
  #1  
Old March 8th, 2010, 04:36 PM posted to microsoft.public.access
nbslarson
external usenet poster
 
Posts: 30
Default Conditional Formatting if the field contains a specific number

I am working in Access 2003 and have created a database of chefs who
volunteer for our annual event. Over the years, several are repeat
volunteers. I am attempting to create a report wherein the "year" field will
turn yellow if the information contains the year "2010".

Can this be done (and by someone of my limited grasp of Access)?

Thank you for any help you can give.
  #2  
Old March 8th, 2010, 04:43 PM posted to microsoft.public.access
Gina Whipp
external usenet poster
 
Posts: 3,500
Default Conditional Formatting if the field contains a specific number

nbslarson,

Have you looked at Conditional Formatting? Look under Format on your menu
bar.

--
Gina Whipp
2010 Microsoft MVP (Access)

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

"nbslarson" wrote in message
...
I am working in Access 2003 and have created a database of chefs who
volunteer for our annual event. Over the years, several are repeat
volunteers. I am attempting to create a report wherein the "year" field
will
turn yellow if the information contains the year "2010".

Can this be done (and by someone of my limited grasp of Access)?

Thank you for any help you can give.

  #3  
Old March 8th, 2010, 05:17 PM posted to microsoft.public.access
KenSheridan via AccessMonster.com
external usenet poster
 
Posts: 1,610
Default Conditional Formatting if the field contains a specific number

You might also like to make the yellow conditional on the year field
equalling Year(Date()) rather than 2010. This will mean that it will always
be determine by the current year whatever year it is rather than your having
to amend the report when you move into 2011 or later. The Date function
returns the current date and the Year function the year of the date.

You'll notice that Year is the name of a function in the above, so this means
Year as a field name should be avoided (similarly Date etc). Its always best
to use more specific names like EventYear for object names.

Ken Sheridan
Stafford, England

nbslarson wrote:
I am working in Access 2003 and have created a database of chefs who
volunteer for our annual event. Over the years, several are repeat
volunteers. I am attempting to create a report wherein the "year" field will
turn yellow if the information contains the year "2010".

Can this be done (and by someone of my limited grasp of Access)?

Thank you for any help you can give.


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/201003/1

  #4  
Old March 13th, 2010, 05:40 PM posted to microsoft.public.access
De Jager
external usenet poster
 
Posts: 393
Default Conditional Formatting if the field contains a specific number


"nbslarson" wrote in message
...
I am working in Access 2003 and have created a database of chefs who
volunteer for our annual event. Over the years, several are repeat
volunteers. I am attempting to create a report wherein the "year" field
will
turn yellow if the information contains the year "2010".

Can this be done (and by someone of my limited grasp of Access)?

Thank you for any help you can give.


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:15 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.