Hello,
I have report that I open in reportview. On this report there is a button wich would allow the user to print the report. I have put the following code behind the button:
If MsgBox("Are you sure you want to print the report?", vbQuestion + vbYesNo) = vbYes Then
DoCmd.RunCommand acCmdPrint
End If
The printdialog is appearing on the screen but if I click print nothing is happening.
What is wrong here? Is it not possible to print a report like this?
As all the ribbons are hidden I am not able to use the access print button.
What is the most easy way to solve this problem?
Best regards,
Sven.
I have report that I open in reportview. On this report there is a button wich would allow the user to print the report. I have put the following code behind the button:
If MsgBox("Are you sure you want to print the report?", vbQuestion + vbYesNo) = vbYes Then
DoCmd.RunCommand acCmdPrint
End If
The printdialog is appearing on the screen but if I click print nothing is happening.
What is wrong here? Is it not possible to print a report like this?
As all the ribbons are hidden I am not able to use the access print button.
What is the most easy way to solve this problem?
Best regards,
Sven.