wallymeister
Registered User.
- Local time
- Today, 00:18
- Joined
- May 10, 2011
- Messages
- 30
Hi all
I am stumped and don't know if there is a way to do this or not but.......
I have created custom shortcut menu with Print the only option for the user. It uses the Printout Action to send the report to the default printer. I need to capture that the user printed the report so I can set some other properties based on that fact. (Make another button visible when the report has been printed) I see no way to do this.
This whole problem arose because I tried just adding code in the Close event of the report to ask user if they want to print the report but I get error that can't run this action while running a form or report event. So I tried another approach and that's where I am at now.
The reports are opened in dialog mode to keep the user out of everything so they can only preview the report and close it. I want them to have the option to print also. If they do I need to change visible property of a button.
Maybe if I Call a subroutine from the custom shortcut menu and in that routine before I use the printout method there set visible property of other button.
Hmmm....
I'll try this but in the meantime if anyone has another idea, I'd certainly welcome any suggestions.
Thanks,
Wally
I am stumped and don't know if there is a way to do this or not but.......
I have created custom shortcut menu with Print the only option for the user. It uses the Printout Action to send the report to the default printer. I need to capture that the user printed the report so I can set some other properties based on that fact. (Make another button visible when the report has been printed) I see no way to do this.
This whole problem arose because I tried just adding code in the Close event of the report to ask user if they want to print the report but I get error that can't run this action while running a form or report event. So I tried another approach and that's where I am at now.
The reports are opened in dialog mode to keep the user out of everything so they can only preview the report and close it. I want them to have the option to print also. If they do I need to change visible property of a button.
Maybe if I Call a subroutine from the custom shortcut menu and in that routine before I use the printout method there set visible property of other button.
Hmmm....
I'll try this but in the meantime if anyone has another idea, I'd certainly welcome any suggestions.
Thanks,
Wally