Gates Is Antichrist
Well-known Member
- Joined
- Aug 15, 2002
- Messages
- 1,961
The OpenTable below is insufficient to perform the GoToRecord. What is the minimal tweak or change I need?
This is for a form recordsourced to a table. Without the form load, it works great, starting out on record 1; all I want to do is start it out on (e.g.!) record 77, as directed by its caller, DoCmd.OpenForm( ...77)
Code:
Private Sub Form_Load()
DoCmd.OpenTable Me.RecordSource
DoCmd.GoToRecord acDataForm, Me.RecordSource, acGoTo, CLng(Me.OpenArgs)
End Sub