Getting Compile error

  • Thread starter Thread starter JMay
  • Start date Start date
J

JMay

Invalid use of the me keyword - when I step thru:

If IsNull(Me.NextToContact.Value) Then
MsgBox "You Must Fill in the required date in the NextContactDate Box"
Exit Sub
End if

But Why?
 
Never mind, I just transferred these code lines to my Forms.code module;
Before they were in a Standard module.
 
Back
Top