kirstenlargent
Technical User
I'm trying to apply conditional formatting to a field in my form. I want the font color to be red if the value in the field is negative. This field is a calculated field, based on other fields in the form.
I tried adding the code to the AfterUpdate, OnDirty, and OnChange events, but none of them work. If I add my code to the OnEnter or OnExit, it will work, but I don't want users to have to click in the calculated field.
Where can I add it so that when I view my form, the color automatically changes based on the value?
Thanks!
I tried adding the code to the AfterUpdate, OnDirty, and OnChange events, but none of them work. If I add my code to the OnEnter or OnExit, it will work, but I don't want users to have to click in the calculated field.
Where can I add it so that when I view my form, the color automatically changes based on the value?
Thanks!