Hello Everyone,
I want a command button to open a report to the last record in my database and only that report. Right now My button opens up the rport and the report has the code:
When I try to open the report I get the error:
Run-time error '2105':
You can't go to the specified record.
I am an access rookie so not sure where to go from here.
Thanks for all your help.
I want a command button to open a report to the last record in my database and only that report. Right now My button opens up the rport and the report has the code:
Code:
Private Sub Report_Load()
DoCmd.GoToRecord record:=acLast
End Sub
Run-time error '2105':
You can't go to the specified record.
I am an access rookie so not sure where to go from here.
Thanks for all your help.
Comment