Is it possible to send a base report to a printer with a single button click? If so, how?
I have created a project tracking database with a number of reports. I can generate a report by assigning a macro to button on various forms, but these only open the report in writer. I still need to click the print button within writer.
Current macro that opens the report in writer:
Sub Open_rptProjectBasic
const sRptName=“rptProject Basic”
ThisDatabaseDocument.ReportDocuments.getByName(sRptName).open
End Sub
LO: 7.4.3.2
OS: macOS Big Sur 11.7.1
Thank you,
Doug