I get the title message and then asks to Debug. I debug and the second line is highlighted below. Anyone have any ideas as this has just stopped working in Access 2003. Thanks for any help
Private Sub ObjName_Enter()
If Me.code = "" Or IsNull(Me.code) Then
Me.ObjName.Locked = True
Else
Me.ObjName.Locked = False
End If
End Sub