Compile error message

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

(General) (Birthdate_GotFocus)


Private Sub Birthdate_GotFocus()
Me.Birthdate".SelStart =" 0
End Sub

Compile error: Method or data member not found.
The part that is highlighted as the "error" I have put within the quotation
marks above.

I am clueless as to what the problem is. This is a birthdate field. It seems
to behave just fine for entering data. The only more complex role it plays is
that it is part of age calculation.

Any help given is greatly appreciated.
 
I may be off here, but what are the quote marks for?
wouldn't it just be...


Me.Birthdate.SelStart = 0
 
Thanks for getting back to me.

The quotes indicate the part that is in yellow highlighter when I run
compile - it shows where the error is. I can't underline or highlight in
these Message windows so that was the option I chose and that is why I said
"The part that is highlighted as the "error" I have put within the quotation
marks above." When the explanation is separate from the code I guess it is a
bit confusing.

Mary
 

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

Back
Top