NetTalk Central

Author Topic: Print Report, Browse Returns to Home  (Read 3759 times)

RichBowman

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • Email
Print Report, Browse Returns to Home
« 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Print Report, Browse Returns to Home
« Reply #1 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

linas@debetas.lt

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
    • Email
Re: Print Report, Browse Returns to Home
« Reply #2 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.

RichBowman

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • Email
Re: Print Report, Browse Returns to Home
« Reply #3 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

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Print Report, Browse Returns to Home
« Reply #4 on: January 13, 2012, 05:08:20 AM »
I'm seeing the same thing.  Weird.

Will post example when I can.

Don
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11