schreddermaus
25th March 2015, 12:29
Hi guys,
is it possible to redirect data from report 1 to report 2 and suppress report 1 (directly in the reportscript)?
Background:
A customer wants different report layouts for different company numbers (e.g. purchase order for comp. 100 should have another look than purchase order for comp. 200), BUT he doesn't wanna select from a list of different reports.
So my idea was to check the company number and select the correct reportcode via script, redirect all data to the new report and close the old report without printing it.
Because I have to do so for Purchase Orders, Order Acknowledgements, Invoices an many more, I would like to do the selection within the standard reportscript instead of searching the right place in the printing session script (too many DLLs behind it ... -.-).
Does someone know if this could work and how I could do that?
is it possible to redirect data from report 1 to report 2 and suppress report 1 (directly in the reportscript)?
Background:
A customer wants different report layouts for different company numbers (e.g. purchase order for comp. 100 should have another look than purchase order for comp. 200), BUT he doesn't wanna select from a list of different reports.
So my idea was to check the company number and select the correct reportcode via script, redirect all data to the new report and close the old report without printing it.
Because I have to do so for Purchase Orders, Order Acknowledgements, Invoices an many more, I would like to do the selection within the standard reportscript instead of searching the right place in the printing session script (too many DLLs behind it ... -.-).
Does someone know if this could work and how I could do that?