Compile Error

A

Arturo

I use the following procedure for several fields and it works.

Private Sub Services_GotFocus()
Services.SelStart = 0
End Sub

However, when I try to compile the database, I ger the error
"Method or data member not found."

Anybody know why?

Thank you.
 
J

Jerry Whittle

I can't find Services in the Object Browser. I do see SelStart under both the
ComboBox and TextBox class of the Access library. Is Services the name of a
combo or text box?
 
A

Arturo

Additional follow-up reply:

Services is a field name in the table behind the form. I have used this on
several fields, especially phone numbers and the like. Services is a memo
field. When it gets the focus, the cursor does go the the first place in the
field. As I said, all the programming works on these fields. It just won't
compile them.
 

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