Redirect to Original Report

(2 posts) (2 voices)
  1. thewah, Member

    I have a button that adds a few values to a table via a stored procedure. I'm able to call the procedure and update the values...but that leaves me on an empty report page (the report only has update statements).

    What do I need to add to redirect back to the original report?

  2. myDBR Team, Key Master

    When you use a linked report without specifying the 'embed_target'-parameter, a linked parameter will display the output on another page. This is what happens with you.

    If you specify the 'embed_target'-parameter, any linked report's output will be displayed there. The embed_target can be a DIV, a popup or a new window.

    To fix your report, specify the embed_target-parameter to be an element declared with dbr.embed_object command.

    myDBR Team


You must log in to post.