I tried to code the different flags like that:
I have this error:
“Microsoft Access can’t find the field ‘|1’ referred to in your expression”
So I tried to define flag like that :
But it doesn’t work.
Do you have an idea to fix it??
Thanks.
Code:
[SIZE=3][FONT=Calibri]If ([flagblup] = 1 And [redticket] = "Blueprints") Or ([flagconp] = 1 And [redticket] = "Control Plan") Then
Me.redticket.BackColor = RGB(237, 28, 36)
Else
Me.redticket.BackColor = RGB(255, 255, 255)[/FONT][/SIZE]
I have this error:
“Microsoft Access can’t find the field ‘|1’ referred to in your expression”
So I tried to define flag like that :
Code:
Dim varflagblup As Variant, varflagconp As Variant
But it doesn’t work.
Do you have an idea to fix it??
Thanks.