Hi All
I've got about 50 reports to print out in one go, currently I'm using the following code:
But I'd prefer to just loop over all reports and print them out - does anyone know how to do this? I've been looking at 'recordset' but to no avail...
Thanks for any help you can give
Lex
I've got about 50 reports to print out in one go, currently I'm using the following code:
Code:
Private Sub Print_Click()
On Error GoTo Err_Print_Click
Dim stDocName As String
stDocName = "Average Length Of Time"
DoCmd.OpenReport stDocName, acNormal
Exit_Print_Click:
Exit Sub
Err_Print_Click:
MsgBox Err.Description
Resume Exit_Print_Click
End Sub
But I'd prefer to just loop over all reports and print them out - does anyone know how to do this? I've been looking at 'recordset' but to no avail...
Thanks for any help you can give
Lex