Providing report PASS_ parameters
Posted: Thu May 11, 2023 10:36 am
Hi Mike,
On one of the forms I built based on your Sample Plugin - Editable List Maintenance Form, the client went to Printer Setup (which is plumbed by default and I forgot to remove!) and added an invoice based report to print. Printing worked but was blank as it didn't know which SOE.
This would actually be a nice solution for the client, I just need to supply Pass_SP_InvoiceHistoryID based on the selected grid row.
I have tried 3 or 4 approaches, including hooking into this.ReportDefinitionCollection.ReadEnd and adding there, and overriding this.PrintRecord() and adding there - but nothing seems to work.
Could you explain the approach to use?
Cheers,
Neil.
On one of the forms I built based on your Sample Plugin - Editable List Maintenance Form, the client went to Printer Setup (which is plumbed by default and I forgot to remove!) and added an invoice based report to print. Printing worked but was blank as it didn't know which SOE.
This would actually be a nice solution for the client, I just need to supply Pass_SP_InvoiceHistoryID based on the selected grid row.
I have tried 3 or 4 approaches, including hooking into this.ReportDefinitionCollection.ReadEnd and adding there, and overriding this.PrintRecord() and adding there - but nothing seems to work.
Could you explain the approach to use?
Cheers,
Neil.