I thought this problem would go away. I have an application that I pass to someone as an mde version. On the form I have 2 buttons, 1 to preview a report, the other to print it.
I ended up doing it with 2 buttons as I could not get a preview/print version, ie having a menu on the preview page having a print button. I had so many problems understanding the way a custom menu was built. However the user now wants it this way, ie open preview and have a button to print the report from preview.
Can someone run through the process of doing it.
Present button codes are:
To preview only:
DoCmd.OpenReport "AthleteShotKeywords", acViewPreview
To print:
DoCmd.OpenReport "AthleteShotKeywords", acViewPreview
RunCommand acCmdPrint
The underlying form stays open and is below the preview/print pages. Thanks
I ended up doing it with 2 buttons as I could not get a preview/print version, ie having a menu on the preview page having a print button. I had so many problems understanding the way a custom menu was built. However the user now wants it this way, ie open preview and have a button to print the report from preview.
Can someone run through the process of doing it.
Present button codes are:
To preview only:
DoCmd.OpenReport "AthleteShotKeywords", acViewPreview
To print:
DoCmd.OpenReport "AthleteShotKeywords", acViewPreview
RunCommand acCmdPrint
The underlying form stays open and is below the preview/print pages. Thanks