Hi All,
Can anyone provide me with some example code of how to achieve conditional formatting of individual cell display properties within a subform based on values displayed in the subform cells. The traditional conditional formatting only allows 3 conditions (via Formatting menu\Conditional Formatting in Form design mode)and I want to use about 5 conditions with a SELECT CASE type control structure e.g.
If the value in the subform control (textbox) is less than 60 then make the background color blue, if the value is between 60 and 80 then make the background cell color green etc. The subform and all the controls are bound to an underlying table. I am also not 100% sure where to execute the code my current thinking is either attached to the OnOpen or OnLoad events. Hope someone can help,
regards HowardB
Can anyone provide me with some example code of how to achieve conditional formatting of individual cell display properties within a subform based on values displayed in the subform cells. The traditional conditional formatting only allows 3 conditions (via Formatting menu\Conditional Formatting in Form design mode)and I want to use about 5 conditions with a SELECT CASE type control structure e.g.
If the value in the subform control (textbox) is less than 60 then make the background color blue, if the value is between 60 and 80 then make the background cell color green etc. The subform and all the controls are bound to an underlying table. I am also not 100% sure where to execute the code my current thinking is either attached to the OnOpen or OnLoad events. Hope someone can help,
regards HowardB