Provide a dynamic custom title for a report [message #2158] |
Wed, 24 June 2009 13:22 |
gpatti
Messages: 283 Registered: August 2008
|
Senior Member |
|
|
I've spent most of the day struggling to find a way to achieve the following:
I have a simple output2 task that prints a list of the rows selected from a LIST2 screen. I want to be able to add a custom title to the report (probably using _cm_ListView_header). The intention is for the user to be able to type the title they want for the report in a dialog.
I've created an input task for the title (using various transaction patterns).
From here I've tried calling the output2 task directly from the input task using scriptNext, and I've tried calling the output2 task whilst using the input screen as a passthru. The application flow works in both cases, but I always get ALL transactions printed on the report. The problem is how to get the selection parameters through to the output2 task intact.
Can you suggest what would be the most appropriate patterns and method to use? What other custom code would I need to apply?
Thanks,
Graham
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|