×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Opening a new window in a drill down

Opening a new window in a drill down

Opening a new window in a drill down

(OP)
I have a report that lists the number of records in a batch file (PDF format). I created a link from the batch number to a drill down report that will display the records in that batch file (again, PDF format). I am calling these reports from a web page.

The link to the new report works, but I cannot get it to open in a new window. It always opens in the same window and I cannot even use the BACK button to go back to the first report.

Here is the code in the stylesheet to get the link to the new report:

TYPE=DATA, COLUMN=BATCH_ID_NR,
URL=http://glswfintnp/cgi-bin/ibi_cgi/ibiweb.exe?\
(IBIF_ex='VL0023WF' IBIAPP_app='NOSLoanMaint'\
FILE_TYPE='&FILE_TYPE' BATCH_NUM=BATCH_ID_NR),
TARGET=_BLANK,$

Is anything wrong with the above code? What should I do differently?

RE: Opening a new window in a drill down

I have had trouble with PDF and that may be the issue. May have to do with Acrobat plugin.

Switch to HTML output and see if you get what you want.

RE: Opening a new window in a drill down

(OP)
You're right. According to IBI, opening a new window is just not possible from a PDF file - it is not implemented. I can't use HTML for the report, so I'll have to think of a workaround.

Thanks for the response.

RE: Opening a new window in a drill down

Maybe this could help:

BUTTONS/A300 =
'<INPUT NAME="pdf" TYPE="BUTTON" VALUE="Acrobat Report" ' |
'TITLE="Open a report in Adobe Acrobat format"  '|
'target="w" onclick=window.open'|'
'("http://mybusiness.com' |
'/cgi-bin/ibi_cgi/ibiweb.exe?' |
'IBIF_ex=inmarpdf","window_name"); ' |
'</input>' ;

RE: Opening a new window in a drill down

(OP)
Thaks, but this is HTML. I need to be able to open a PDF report in a new window from a PDF report.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close