Hi
Is there anyway to put a cmd button on report page itself to print the report?
thanks
Hi
Is there anyway to put a cmd button on report page itself to print the report?
thanks
Yes. Be sure to set the Display When option to Screen Only otherwise it will print out on the page. The easiest way is to assign a Macro to the On Click event of RunMenuCommand/PrintObject.
I have created a button on report page, with a macro event on click which will save the report as pdf, but what I meant was, the user cannot use that button on report page when screen only option is selected.
Strange. I took a or existing report added a button and the "On Click" event and set the command bottom to be visible and display on on screen. It worked as expected.
You might want to try with a new test report to validate basic functionality without any unknowns in preexisting reports.
HI
SO you mean the button is actually working on the page of report? when I open a report it only shows zoom cursor report page.
Yes - I created a test report page from scratch and it worked correctly. It displayed on the report (screen) but did not on the printout.
Ok Chris, I found it what I was doing wrong, I was trying to see the button in print view, not the report view.
Thanks a lot.