In my report, if the value of a field is 50, then Picture1 shows, if the value is 100, then Picture2 shows, etc. But the .Value doesn't work in the VB code.
The code I tried is...
If Me.FIELD.Value = 50 Then
Me.Pic_1.Visible = True
Me.Pic_2.Visible = False
Elseif Me.FIELD.Value = 100 Then
Me.Pic_1.Visible = False
Me.Pic_2.Visible = True
Else
Me.Pic_3.Visible - True
End If
I keep getting an error that doesn't recognize the .Value option. Any suggestions?
TIA
The code I tried is...
If Me.FIELD.Value = 50 Then
Me.Pic_1.Visible = True
Me.Pic_2.Visible = False
Elseif Me.FIELD.Value = 100 Then
Me.Pic_1.Visible = False
Me.Pic_2.Visible = True
Else
Me.Pic_3.Visible - True
End If
I keep getting an error that doesn't recognize the .Value option. Any suggestions?
TIA