Announcement

Collapse
No announcement yet.

How hide the Report PDF message at end of running

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Attached Files
    Last edited by giovannino; 03-11-2015, 05:01 PM.

  • #2
    Did you tried using sc_exit(sel) after you call sc_redir to execute your pdf report┐?
    /Giuseppe

    Professional Scriptcase Services
    Some Customers opinions

    Comment


    • #3
      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... ;-(

      Comment


      • #4
        I mean on application where you call this report
        /Giuseppe

        Professional Scriptcase Services
        Some Customers opinions

        Comment


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

          Comment


          • #6
            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

            Comment


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

              Professional Scriptcase Services
              Some Customers opinions

              Comment


              • #8
                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... ???
                Attached Files

                Comment

                Working...
                X