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 » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How do I make fields change colors to alert something?



 
 
Thread Tools Display Modes
  #1  
Old September 27th, 2006, 02:58 PM posted to microsoft.public.access.forms
artemis1027
external usenet poster
 
Posts: 17
Default How do I make fields change colors to alert something?

I have been asked to create a database based on a control sheet which tracks
when visits are due, past due or need follow-up. Right now they maintain it
on an Excel spreadsheet and use color coding to let them know when visits are
due and such. Is there anyway to do this with the database as well? Please
be as detailed as possible when replying. Thanks!
  #2  
Old September 27th, 2006, 03:06 PM posted to microsoft.public.access.forms
RoyVidar
external usenet poster
 
Posts: 417
Default How do I make fields change colors to alert something?

"artemis1027" wrote in message
:
I have been asked to create a database based on a control sheet which
tracks when visits are due, past due or need follow-up. Right now
they maintain it on an Excel spreadsheet and use color coding to let
them know when visits are due and such. Is there anyway to do this
with the database as well? Please be as detailed as possible when
replying. Thanks!


In a continuous form, or datasheet, you can use conditional
formatting (format menu), which is quite close to how it is done in
Excel. This requires 2000 version or later. You are limited to three
conditions, which I think is the same as Excel.

For single forms, you can also set backcolor etc on controls
programatically (perhaps using the on current event) in stead of
conditional formatting.

--
Roy-Vidar


  #3  
Old September 27th, 2006, 03:10 PM posted to microsoft.public.access.forms
Jeff L
external usenet poster
 
Posts: 448
Default How do I make fields change colors to alert something?

Have you checked out conditional formatting?


artemis1027 wrote:
I have been asked to create a database based on a control sheet which tracks
when visits are due, past due or need follow-up. Right now they maintain it
on an Excel spreadsheet and use color coding to let them know when visits are
due and such. Is there anyway to do this with the database as well? Please
be as detailed as possible when replying. Thanks!


  #4  
Old September 27th, 2006, 03:41 PM posted to microsoft.public.access.forms
artemis1027
external usenet poster
 
Posts: 17
Default How do I make fields change colors to alert something?

I have, but unfortunately the training my company sent me to did not cover
conditional formatting. If I have a field that says a monitoring visit was
done today, how would I get it to turn blue in 30 days? Can that be done?
And then if it goes past 30 days, can it turn red?

"Jeff L" wrote:

Have you checked out conditional formatting?


artemis1027 wrote:
I have been asked to create a database based on a control sheet which tracks
when visits are due, past due or need follow-up. Right now they maintain it
on an Excel spreadsheet and use color coding to let them know when visits are
due and such. Is there anyway to do this with the database as well? Please
be as detailed as possible when replying. Thanks!



  #5  
Old September 27th, 2006, 08:44 PM posted to microsoft.public.access.forms
Jeff L
external usenet poster
 
Posts: 448
Default How do I make fields change colors to alert something?

You can have up to 3 conditions. Select the field you want to have
conditional formatting on. Click Format, Conditional Formatting in the
menu. You will see a window open. The conditions you would use a
DateDiff("d", [YourDateField], Date()) = 30
DateDiff("d", [YourDateField], Date()) 30

For each condition, select what you want to do...ie change the
background to blue or red. There is an icon that looks like a bucket
that you use to chage the background color.

Hope that helps!


artemis1027 wrote:
I have, but unfortunately the training my company sent me to did not cover
conditional formatting. If I have a field that says a monitoring visit was
done today, how would I get it to turn blue in 30 days? Can that be done?
And then if it goes past 30 days, can it turn red?

"Jeff L" wrote:

Have you checked out conditional formatting?


artemis1027 wrote:
I have been asked to create a database based on a control sheet which tracks
when visits are due, past due or need follow-up. Right now they maintain it
on an Excel spreadsheet and use color coding to let them know when visits are
due and such. Is there anyway to do this with the database as well? Please
be as detailed as possible when replying. Thanks!




 




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 01:48 PM.


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