Tab location on "add"

B

Bob

I have this code in the last lines of the ADD command icon
in a form to position the cursor in the telephone location
when the add icon is selected. But the cursor position
remains in the field of the add icon. Is the code correct?
The field that I want the cursor to move to the control
source name is "telephone".

Private Sub Telepostion_click()
Me!Telephone.SetFocus

End Sub
 

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