HTML Code:
I have a dBase with login form based on table tbl_User and under [Group] column one of the users is “checker”. The database also contains form frmLengthCalc. What I am trying to accomplish is that if the checker changes any value on frmLengthCalc (in text box “txtVlv_F150_Qty” for example), the text changes colour to red and bold. I tried to use vba but the code changes the text to red for the entire column not the record and if somebody else with different rights logs in the colour goes back to black again.
Here is the code
Code:
Private Sub txtVlv_F150_Qty_AfterUpdate()
Select Case U_Groups
Case "Checker"
With Forms!frmLengthCalc
Me.txtVlv_F150_Qty.ForeColor = vbRed
Me.txtVlv_F150_Qty.FontBold = True
End With
End Sub
HTML Code:
I am guessing conditional formatting is the way to go so I tired but it didn’t get me anywhere either.
I used the following conditions to format [txtVlv_F150_Qty] textbox
Expression Is [tbl_User]![Group]="Checker"
And changed the text color to red and bold but it doesn’t do anything and doesn’t give me an error either.
Wonder if somebody can help me with that.