Getting Compile error

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?
 
J

JMay

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top