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  

changing background color on continuous form



 
 
Thread Tools Display Modes
  #1  
Old June 3rd, 2004, 12:06 AM
Lurch
external usenet poster
 
Posts: n/a
Default changing background color on continuous form

Third time is a charm! I had my computer's date wrong..here goes again geesh
I'm a dumbass...!

Hi There!

How can I have txtfield1 on a continous form change the background color to
vbRed for that record only if txtfield3's value is "Yes" (this is a text
field not a boolean) otherwise the background.color is white

Thanks!

Lurch


  #2  
Old June 3rd, 2004, 12:33 PM
Arvin Meyer
external usenet poster
 
Posts: n/a
Default changing background color on continuous form

Use Conditional Formatting.

With the continuous form in design view, select the textbox. Then select
Format ... Conditional Formatting

The condition is:

Field Value
Is equal to
"yes"

Make sure you put the "Yes" in quotes.

Then set the fill to the color red you want.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access

"Lurch" wrote in message
.. .
Third time is a charm! I had my computer's date wrong..here goes again

geesh
I'm a dumbass...!

Hi There!

How can I have txtfield1 on a continous form change the background color

to
vbRed for that record only if txtfield3's value is "Yes" (this is a text
field not a boolean) otherwise the background.color is white

Thanks!

Lurch




 




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 09:37 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.