G
Guest
I have a subform that displays only two fields : Category and ColorCode.
I input a category, (i.e. "Sexual Abuse") and the code will search the
appropriate table and pull the colorcode as being "Red" and display the text
in the ColorCode control on the subform. No problem.
However, the attorney involved wants me to be able to color the background
of the control to red. I can do that no problem, except that all colorcodes
then are displayed as red. There could be many categories being displayed on
the sub form, as in:
Sexual Abuse Red
Physical Abuse Purple
Intimidation Green etc.
The attorney wants quick visual access when in court using a laptop, to be
able to show the red category in red, the purple in purple, and green in
green, etc.
Is is possible on a sub-form that really only uses one control and
replicates itself as needed for display? I thought I once saw some code to
this effect, but????????
I input a category, (i.e. "Sexual Abuse") and the code will search the
appropriate table and pull the colorcode as being "Red" and display the text
in the ColorCode control on the subform. No problem.
However, the attorney involved wants me to be able to color the background
of the control to red. I can do that no problem, except that all colorcodes
then are displayed as red. There could be many categories being displayed on
the sub form, as in:
Sexual Abuse Red
Physical Abuse Purple
Intimidation Green etc.
The attorney wants quick visual access when in court using a laptop, to be
able to show the red category in red, the purple in purple, and green in
green, etc.
Is is possible on a sub-form that really only uses one control and
replicates itself as needed for display? I thought I once saw some code to
this effect, but????????