NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: RichBowman on January 03, 2012, 01:27:57 PM

Title: Print Report, Browse Returns to Home
Post by: RichBowman on January 03, 2012, 01:27:57 PM
I have a memory form with a dropdown  and 2 browses. The 2 browses are parent / child. Each line of the parent browse has a Print button. When I click the print button the report runs to pdf correctly and opens in a new tab. However, the tab with the dropdown and 2 browses returns to Home.

When the user closes the tab with the pdf I would like them to return to where they came from. Any ideas?

Thank you,

Rich
Title: Re: Print Report, Browse Returns to Home
Post by: Bruce on January 03, 2012, 10:17:23 PM
Hi Rich,

it sounds like you have two actions on the button that triggers the report. But I can't know for sure what's going on unless you post an example.

cheers
Bruce
Title: Re: Print Report, Browse Returns to Home
Post by: linas@debetas.lt on January 05, 2012, 03:37:02 PM
Hi Rich,

Why open a pdf in a tab? You can open PDF in a new page using _blank and all problems gone away.

Linas N.
Title: Re: Print Report, Browse Returns to Home
Post by: RichBowman on January 11, 2012, 01:17:45 PM
I use _blank in the "On Click" tab of the field properties. With Firefox 8 it opens the report in a new tab. The report displays fine. When you close the tab the original tab has returned to Home.

With IE8, the same report opens another instance of IE. The pdf progress window displays but the report will NOT display. When I close the new instance of IE, the original page has returned to Home also.

Bruce thought I might have 2 actions for the button but I find only one. Example web13 works great. My settings are identical to web13, down to the name and text of the button. Web13 uses frames and my browse is on a form. I wonder if this makes any difference.

I'm still puzzled. Any ideas?

Thank you,

Rich
Title: Re: Print Report, Browse Returns to Home
Post by: DonRidley on January 13, 2012, 05:08:20 AM
I'm seeing the same thing.  Weird.

Will post example when I can.

Don