I have a continuous form that I want to use conditional formating.
Field1 would use one set of conditional formating.
Field2 would use a different set of conditional formating.
The conditional formating I use works - well, kind of.
After requerying the form, the form flickers, and the fields repaint/refresh only after I run the mouse over it. I understand that the problem may lie with using conditional formating with continuous forms, so I thought about using vba instead, but am unsure how to do so with different types of controls (one is a combobox and one is text).
Will something like this work.... (please feel free to offer additional code to make it work).
For each Control in Form
If {condition} then Control1.backcolor = vbBlue
If {condition} then Control2.backcolor = vbRed
Next
I need to use conditional formating, so any work around would appreciated.
Field1 would use one set of conditional formating.
Field2 would use a different set of conditional formating.
The conditional formating I use works - well, kind of.
After requerying the form, the form flickers, and the fields repaint/refresh only after I run the mouse over it. I understand that the problem may lie with using conditional formating with continuous forms, so I thought about using vba instead, but am unsure how to do so with different types of controls (one is a combobox and one is text).
Will something like this work.... (please feel free to offer additional code to make it work).
For each Control in Form
If {condition} then Control1.backcolor = vbBlue
If {condition} then Control2.backcolor = vbRed
Next
I need to use conditional formating, so any work around would appreciated.