Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Buttons in Forms

Status
Not open for further replies.

xcavern

ISP
Apr 4, 2003
20
0
0
US
Is there a way in Access to create buttons to goto a specific record in a specific table? For example, a button to goto ,
Table1
Record 25 of 57

If not a button, is there another way?
Thanks
 
Code:
Private Sub Command0_Click()
    DoCmd.OpenForm "FormName"
    With Forms!FormName
        .SetFocus
        DoCmd.GoToRecord , , , 25
    End With
End Sub

________________________________________________________________________
Zameer Abdulla
Visit Me
A person who misses a chance and the monkey who misses its branch can't be saved.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top