Hi Experts,
I have a form where the user selects from a combo box 1 of 3 values; H, M, or L. If the user slects 'H', I want to set the font color or another textbox (yet to be filled in) with 1 of 3 colours. Red, Amber or green.
Shown below is a sample of my select case. the code runs and yet when I get to the me.txtActionID field, the colour remains the same - i.e. black.
Private Sub cboRiskCatBefore_AfterUpda
te()
Select Case cboRiskCatBefore
Case "H"
intRiskMax = 20
intRiskMin = 9
Me.txtActionID.FontBold = True
Me.txtActionID.ForeColor = vbRed
Case "M"......
.....
Can anyone tell me what I am doing wrong, please?
Thanks.
Regards,
Keith
Start Free Trial