bommelbaars
Programmer
I want to change the forecolor (and fonttype e.g. bold in stead of normal) in a field, depending on the field value of an other field in that record. I want to use 5 different colors for 5 fieldvalues.
In the wizzard (I don't know the english name, I use the Dutch version of access)I can Use 4 colors, a default and 3 other, so that is to less.
I already tried:
If me!status = "1" Then
me!name.forecolor= RGB(255 ,0 ,0)
Else
me!name.forecolor= RGB(0, 0, 255)
End If
this looked to work, however it changes the forecolor in all the fields "name" in all the records in stead of only the record in wich the field "status" has the value 1.
I need this to make visible which of my cars is off duty, wich of my cars has a special task, wich of my cars is free etc etc.
Who can help me?
Thanks
Hans
In the wizzard (I don't know the english name, I use the Dutch version of access)I can Use 4 colors, a default and 3 other, so that is to less.
I already tried:
If me!status = "1" Then
me!name.forecolor= RGB(255 ,0 ,0)
Else
me!name.forecolor= RGB(0, 0, 255)
End If
this looked to work, however it changes the forecolor in all the fields "name" in all the records in stead of only the record in wich the field "status" has the value 1.
I need this to make visible which of my cars is off duty, wich of my cars has a special task, wich of my cars is free etc etc.
Who can help me?
Thanks
Hans