F
Fubardave
I have made a custom toolbar for my reports, which has coding behind it, such
as that below, to print the report.
Public Function PrintNow() ' Prints the report
On Error Resume Next
Dim strRptName
strRptName = Screen.ActiveReport.Name
DoCmd.SelectObject acReport, strRptName, False
DoCmd.PrintOut acPrintAll
End Function
I would like to re-creaate the report navigation buttons (next page,
previous page, last page, first page) but cannot for the life of me find the
relevant coding that I need.
I cannot believe that I am the first person to try this but I am stumped.
Can any of you experts help or am I trying to do something which cannot be
done ?
as that below, to print the report.
Public Function PrintNow() ' Prints the report
On Error Resume Next
Dim strRptName
strRptName = Screen.ActiveReport.Name
DoCmd.SelectObject acReport, strRptName, False
DoCmd.PrintOut acPrintAll
End Function
I would like to re-creaate the report navigation buttons (next page,
previous page, last page, first page) but cannot for the life of me find the
relevant coding that I need.
I cannot believe that I am the first person to try this but I am stumped.
Can any of you experts help or am I trying to do something which cannot be
done ?