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  

Conditional formatting



 
 
Thread Tools Display Modes
  #1  
Old March 24th, 2008, 04:17 AM posted to microsoft.public.access,microsoft.public.access.forms
John
external usenet poster
 
Posts: 308
Default Conditional formatting

Hi

How can I colour a calculated field on a form based on its numeric value?

Thanks

Regards


  #2  
Old March 24th, 2008, 04:24 AM posted to microsoft.public.access,microsoft.public.access.forms
Steve Schapel
external usenet poster
 
Posts: 1,422
Default Conditional formatting

John,

By the Subject of your post, it seems that you are aware of the
Conditional Formatting functionaliity available in Access for just this
purpose. Why isn't that working for you? You might need to give some
more details, such as the name of the control, where you are doing the
calculation (e.g. query, control source), what is involved in the
calculation, what you have tried so far, and what you want. Thanks.

--
Steve Schapel, Microsoft Access MVP

John wrote:
Hi

How can I colour a calculated field on a form based on its numeric value?

Thanks

Regards


  #3  
Old March 24th, 2008, 04:31 AM posted to microsoft.public.access,microsoft.public.access.forms
John
external usenet poster
 
Posts: 308
Default Conditional formatting

Hi

The field is a text box on a form with an expression =[field1]-[field2] as
Control Source.

Thanks

Regards

"Steve Schapel" wrote in message
...
John,

By the Subject of your post, it seems that you are aware of the
Conditional Formatting functionaliity available in Access for just this
purpose. Why isn't that working for you? You might need to give some
more details, such as the name of the control, where you are doing the
calculation (e.g. query, control source), what is involved in the
calculation, what you have tried so far, and what you want. Thanks.

--
Steve Schapel, Microsoft Access MVP

John wrote:
Hi

How can I colour a calculated field on a form based on its numeric value?

Thanks

Regards


  #4  
Old March 24th, 2008, 12:42 PM posted to microsoft.public.access.forms,microsoft.public.access
Dale Fye
external usenet poster
 
Posts: 2,651
Default Conditional formatting

As Steve asked, what have you tried?

1. Place your cursor in the textbox
2. Select Format, Conditional Formatting from the main menu (2003)
3. In Condition 1,
a. Select "Field value is"
b. Select "Less than"
c. Enter a numeric value (make sure it is a value that you know you
have [Field1]-[Field2] values less than this value).
d. Click on the "Background" button (right after underline) and select
a background color.
e. Click OK

Now open your form and browse through the records. If you have a record
where the values of [Field1] - [Field2] is less than the value you entered,
its background color should be whatever color you selected.

Dale

--
Don''t forget to rate the post if it was helpful!

email address is invalid
Please reply to newsgroup only.



"John" wrote:

Hi

The field is a text box on a form with an expression =[field1]-[field2] as
Control Source.

Thanks

Regards

"Steve Schapel" wrote in message
...
John,

By the Subject of your post, it seems that you are aware of the
Conditional Formatting functionaliity available in Access for just this
purpose. Why isn't that working for you? You might need to give some
more details, such as the name of the control, where you are doing the
calculation (e.g. query, control source), what is involved in the
calculation, what you have tried so far, and what you want. Thanks.

--
Steve Schapel, Microsoft Access MVP

John wrote:
Hi

How can I colour a calculated field on a form based on its numeric value?

Thanks

Regards



 




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 03:32 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.