How hide the Report PDF message at end of running

Hi all,

I did a pdfreport that save to Server the file generated. Under setting -> Server
What I want to do is a generation and later saving of a PDF without that user does nothing.
I’ve tried many way to achieve it but at end I always have the same message on browser reported on image.

I did some within Event onRecord … : sc_exit() , sc_exit(sel) , sc_redir(application)
Here the problemi is that something is generated but not correctly (file html…).

Under Application/Navigation : Exit URL -> application , Close on Exit -> Yes

No way at all, the message always appears at the end… ;-((
Any suggestion will be very appreciated

message.png

Did you tried using sc_exit(sel) after you call sc_redir to execute your pdf report??

Hi Giu, thanks
If I put the commands within OnRecord it does not finish the generation of pdf and it record a kind half worked strange html file.
If I put them on OnFooter do not makes nothing becouse it’s only dedicated for calculation I suppose.
I don’t know where to try to insert them to run them once the pdf generation has finished and recorded on the server directory.
Really misterious… ;-(

I mean on application where you call this report

OK. I will try today. Thanks
I develop it stand alone for the moment and I did not try calling it by another application.

Hi Giu,

this is a video about what happens. I hope it’s clear enough. Bye & Thanks

https://www.youtube.com/watch?v=y-yxgb-kExY

Maybe you should try to do sc_redir without " _parent". Try with new blank and/or modal

No way, I did a test using nothing, _blank, _modal but the message rise up always.

I also tried to use the navigation setting on report as reported on image.
It do not fells nothing. also with redir… ???

redir.png