how can I have more then one font color in my form in access

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I have a field in a form display more then one font color? Sometimes
I need to have things a different color for different reasons. Every time I
try to change it, it changes everything in that field.
 
Hi,
form hold controls...fields are in tables. You can only adjust the forecolor
property of the control and not the values it holds...so it is either all or
nothing. Two workarounds are either to use a richtext control...a good
example of this is here:
http://www.lebans.com/richtext.htm
Or seperate the values into several controls and format those individually.
HTH
Good luck
 
If the color is based on the value (for example, all dates older than 60
days ago are red) then you can use conditional formatting. While in design
view, highlight the control you want and select "conditional formatting..."
from the "Format" menu.
 
Back
Top