Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     run report in a new window

Read-Only Read-Only Topic
Go
Search
Notify
Tools
run report in a new window
 Login/Join
 
Platinum Member
posted
I've seen some examples on how to open drill down reports in new windows, but what needs to be added to make the called report in the code below to run the report in a new window?

DEFINE FILE FISCAL_YEAR
FYF/F5 = FISCAL_YEAR;
FY/A6 = FTOA(FYF, '(F5)', FY);
END
TABLE FILE FISCAL_YEAR
SUM
COMPUTE FY_SELECT/A45 = '<option value ="' || FY || ' "> '  | FY  || '</option>';
BY LOWEST FY NOPRINT
ON TABLE HOLD AS FY FORMAT ALPHA
END
-HTMLFORM BEGIN
<HTML>
<BODY>
 <FORM action='/ibi_apps/WFServlet' method='post'>
<input type= "hidden" name="IBIF_ex" value ="EXAMPLE">
<h2 align=center> Account Query </h2>
<p>
<table>
<tr>
 <td>Select Fiscal Year. </td>
 <td>
<SELECT NAME = "FISCAL_YEAR">
!IBI.FIL.FY;
</SELECT> </td> </tr>
<tr>
<td> Select Beginning Period. </td>
<td>
<SELECT NAME = "FROMPERIOD">
<OPTION VALUE="01">01</OPTION>
<OPTION VALUE="02">02</OPTION>
<OPTION VALUE="03">03</OPTION>
<OPTION VALUE="04">04</OPTION>
<OPTION VALUE="05">05</OPTION>
<OPTION VALUE="06">06</OPTION>
<OPTION VALUE="07">07</OPTION>
<OPTION VALUE="08">08</OPTION>
<OPTION VALUE="09">09</OPTION>
<OPTION VALUE="10">10</OPTION>
<OPTION VALUE="11">11</OPTION>
<OPTION VALUE="12">12</OPTION>
</SELECT> </td> </tr>
<tr>
<td> Select Ending Period. </td>
<td><SELECT NAME = "TOPERIOD">
<OPTION VALUE="01">01</OPTION>
<OPTION VALUE="02">02</OPTION>
<OPTION VALUE="03">03</OPTION>
<OPTION VALUE="04">04</OPTION>
<OPTION VALUE="05">05</OPTION>
<OPTION VALUE="06">06</OPTION>
<OPTION VALUE="07">07</OPTION>
<OPTION VALUE="08">08</OPTION>
<OPTION VALUE="09">09</OPTION>
<OPTION VALUE="10">10</OPTION>
<OPTION VALUE="11">11</OPTION>
<OPTION VALUE="12">12</OPTION>
</SELECT> </td> </tr>
<tr>
<td>
Enter from account:</td>
<td>
<INPUT TYPE="TEXT" NAME="FROMACCOUNT">
</td> </tr>
<tr>
<td>
Enter to account:
</td>
<td>
<INPUT TYPE="TEXT" NAME="TOACCOUNT">
</td></tr>
<tr>
<td>
Select output type. </td>
<td><SELECT NAME = "RPTTYPE">
<OPTION VALUE="EXL2K">EXL2K</OPTION>
<OPTION VALUE="PDF">PDF</OPTION>
</SELECT>
</td></tr>
</table>
<p>
<INPUT id=RPTNBR type=hidden value=2 name=RPTNBR>
<INPUT id=RPTHEADER type=hidden value='REPORT HEADER' name=RPTHEADER>
<INPUT id=ACCT_UNIT type=hidden value=FOC_NONE name=ACCT_UNIT>
<INPUT id=TRAN_AMOUNT type=hidden value=ALL name=TRAN_AMOUNT>
<INPUT id=AMTREL type=hidden value=EQ name=AMTREL>
<INPUT id=REFERENCE type=hidden value=% name=REFERENCE>
<input type='hidden' name='IBIMR_domain' value="spadevel/spadevel.htm">
      <input type='hidden' name='IBIMR_action' value="MR_RUN_FEX">
      <input type='hidden' name='IBIMR_sub_action' value="MR_STD_REPORT">
      <input type='hidden' name='IBIMR_fex' value="app/trnsonln.fex">
      <input type='hidden' name='IBIF_ex' value="app/trnsonln.fex">
      <input type='hidden' name='IBIMR_flags' value="">
      <input type='hidden' name='IBIMR_folder' value="#transactionr">
      <input type='hidden' name='IBIMR_random' value=''>
	  <input type='submit' NAME='IBIMR_defer' VALUE='Defer'>
      <INPUT NAME="submit" TYPE=SUBMIT VALUE="Run Report">
      <INPUT NAME="reset" TYPE=RESET VALUE="Clear Form">
</BODY>
</HTML>
-HTMLFORM END


Thanks for your help!
-Bethany
WF7.1.4


Server Environment: Win2K3 Server WebFOCUS 7.13 Apache Tomcat standalone application server
 
Posts: 188 | Registered: April 14, 2005Report This Post
Expert
posted Hide Post
<FORM action="/ibi_apps/WFServlet" method="post" target="_blank">


See this: http://www.htmlcodetutorial.com/linking/_A_TARGET_95y98y108y97y110y107y.html


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Platinum Member
posted Hide Post
Thanks for your help Francis. I had seen the website that you referenced, but I was unsure where it needed to be placed in the code.

Thanks again!
Bethany


Server Environment: Win2K3 Server WebFOCUS 7.13 Apache Tomcat standalone application server
 
Posts: 188 | Registered: April 14, 2005Report This Post
Expert
posted Hide Post
TYPE=DATA,COLUMN=CAR,FOCEXEC=MYFEX1(COUNTRY='ENGLAND'),TARGET=NEW,$
is this what you mean, Bethany?
did you want the syntax for a regular drilldown in an ordinary fex?




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Platinum Member
posted Hide Post
Francis answered my question on what code to add in the fex launch page to have the called report open in a new window.

-Bethany


Server Environment: Win2K3 Server WebFOCUS 7.13 Apache Tomcat standalone application server
 
Posts: 188 | Registered: April 14, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     run report in a new window

Copyright © 1996-2020 Information Builders