I want to change the font color of a field if a certain condition is met.
The condition is: if tbl1.field1 = true then tbl2.field2 fontcolor = red otherwise tbl2.field2 fontcolor is black.
This looks straight forward but tbl1.field1 is on a subform and tbl2.field2 is on a second subform - both on a main form.
I concluded that some sort of global function is necessary as tbl2.field2 appears on several different forms and subforms. I would like all instances of this field to change fontcolor if the condition is met.
Can anyone help?. Thanks.
The condition is: if tbl1.field1 = true then tbl2.field2 fontcolor = red otherwise tbl2.field2 fontcolor is black.
This looks straight forward but tbl1.field1 is on a subform and tbl2.field2 is on a second subform - both on a main form.
I concluded that some sort of global function is necessary as tbl2.field2 appears on several different forms and subforms. I would like all instances of this field to change fontcolor if the condition is met.
Can anyone help?. Thanks.