Roger's Access Library Homepage
Forum Home Forum Home > Roger's Access Library > Roger's Download Samples
  New Posts New Posts RSS Feed - ChangingColorFields.mdb (Access 97 Only)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login


Please consider donating $1 per sample downloaded, (find out why here)

ChangingColorFields.mdb (Access 97 Only)

 Post Reply Post Reply
Author
Message Reverse Sort Order
Roger Carlson View Drop Down
Microsoft MVP
Microsoft MVP


Joined: 20 Feb 2008
Status: Offline
Points: 249
Post Options Post Options   Thanks (0) Thanks(0)   Quote Roger Carlson Quote  Post ReplyReply Direct Link To This Post Topic: ChangingColorFields.mdb (Access 97 Only)
    Posted: 03 Aug 2008 at 10:56pm

Please consider donating $1 per sample downloaded, find out why here.

ChangingColorFields.mdb

This sample illustrates how to change the color of a control on a form based on information in the form. In this case, if Check 14 checkbox is checked, then the values of Desc will be red, otherwise it will be blue. You can also check for values in text boxes. For instance, if JanBal <500 it could be blue, other wise red.

A second form shows how to change the background color of a text control in a continous form, based on a value in each record.

For higher versions (Access 2000+) see my sample ConditionalFormatting.mdb.
 
Download
Access 97 (46 KB):
ChangingColorFields97.zip
Consider donating $1 per sample downloaded, find out why here.<
Back to Top
Sponsored Links


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down