|
| Use iPrintReport(Reportname) without printing. |
| Iniciado por guest, 09,mar. 2018 15:18 - 7 respuestas |
| |
| | | |
|
| |
| Publicado el 09,marzo 2018 - 15:18 |
Hi all,
I have a report with a lot of calculations (who hasn't). I'd like to run the report but don't want to print it. I know I can use iDestination, but is there a way to run the report without any file or print output, because it slows down the process on a network when generating 100 reports in a loop. I only need the calculations.
Thanks for any advice.
Best regards.
Aad |
| |
| |
| | | |
|
| | |
| |
| Publicado el 09,marzo 2018 - 21:55 |
Hello Add
Could you modify your code to write the lines that would normally go to the report into a memory table instead ?
Regards Al |
| |
| |
| | | |
|
| | |
| |
| Publicado el 10,marzo 2018 - 11:04 |
Hi Al,
Thank you for your reaction. Can you give a hint how to do such ?
Best regards,
Aad |
| |
| |
| | | |
|
| | |
| |
| Publicado el 10,marzo 2018 - 11:31 |
Hello Aad
Create a memory table on the window that calls the report. In the report, at each "After Printing Block Body" event add a row to the memory table with TableAddLine(Windowname.Tablename,reportbodyfield1,reportbodyfield2)
You can also capture any total and subtotal rows in the same manner at the end of the breaks.
Regards Al |
| |
| |
| | | |
|
| | |
| |
| Publicado el 10,marzo 2018 - 11:50 |
Hi Al,
Great idea. I'm going to make it happen.
Best regards,
Aad |
| |
| |
| | | |
|
| | |
| |
| Publicado el 10,marzo 2018 - 13:05 |
Hi Al,
I still have the problem that iPrintReport tries to print or write to disk. Can this be undone ?? Just want to run the report without any output.
Thanks Al.
Best regards,
Aad |
| |
| |
| | | |
|
| | |
| |
| Publicado el 10,marzo 2018 - 14:11 |
Hi Add
it's not possible... You'll have to extract your calculations from the report and redo it in pure code, without the iprintreport.
Best regards |
| |
| |
| | | |
|
| | |
| |
| Publicado el 10,marzo 2018 - 14:23 |
Thanks Fabrice,
I was afraid of that because I couldn't find anything about it. Thanks for your reaction.
Best regards,
Aad |
| |
| |
| | | |
|
| | | | |
| | |
|