Go To Record

G

Guest

Hi, simple question.

Trying to use DoCmd.GoToRecord to get to a specific record.

Private Sub FindRec_Click()
DoCmd.GoToRecord acDataForm, "Support Tracking Form", acGoTo,
GoToSupport
End Sub

GoToSupport is a text box within the Support Tracking Form. I want to look
up records the same way a query works but not have to go to a different form.
The number in the textbox is a unique Autonumber int.

I think my error is the last one (GoTOSupport). The GoTo operation seems to
be referencing a different number to the Autonumber, or something.

Any suggestions?

thanks in advance

Nick
 

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