Hello
I want to write a function that can be called from a customised menu button on an open report, which uses 'OutputTo' to create a snapshot of the report for emailing.
I can do this for a single report with the output name hardcoded. However, how can I use this function to work with whatever report is open at the time the button is pressed? I need to know how to identify the name of the open report and I don't know how.
e.g. if report 'ITWork' is open, I want the output name to be 'ITWork.snp'
Thanks in advance. Nigel
Didn't someone say work is supposed to be fun? They didn't have computers then I guess....
I want to write a function that can be called from a customised menu button on an open report, which uses 'OutputTo' to create a snapshot of the report for emailing.
I can do this for a single report with the output name hardcoded. However, how can I use this function to work with whatever report is open at the time the button is pressed? I need to know how to identify the name of the open report and I don't know how.
e.g. if report 'ITWork' is open, I want the output name to be 'ITWork.snp'
Thanks in advance. Nigel
Didn't someone say work is supposed to be fun? They didn't have computers then I guess....