Private Sub Form_Current()
'For full-time position, display a message
'and the wage field value in red
'For all other positions, display the wage field value
'in black without a message
If [Hours/Week] >= 40 Then
[FullTimeMsg].Visible = True
[Wage].ForeColor = 255
Else
[FullTimeMsg].Visible = False
[Wage].ForeColor = o
End If
End Sub
When I run this I get the runtime Error 2465 Microsoft can't find the field '|' referred to in your expression.
I am so stumped and I have no idea what to do. Am Lost and need help !!!!!!!!!!
Thanks
'For full-time position, display a message
'and the wage field value in red
'For all other positions, display the wage field value
'in black without a message
If [Hours/Week] >= 40 Then
[FullTimeMsg].Visible = True
[Wage].ForeColor = 255
Else
[FullTimeMsg].Visible = False
[Wage].ForeColor = o
End If
End Sub
When I run this I get the runtime Error 2465 Microsoft can't find the field '|' referred to in your expression.
I am so stumped and I have no idea what to do. Am Lost and need help !!!!!!!!!!
Thanks