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.
Try this suggestions from CoderMonkey sometimes back,
EXL97 format does not always respect the WebFOCUS edit options. � If drill-downs are included in a WebFOCUS report in Excel format, and the drill-down reports fail to open, you must check the "Browse in same window" option for XLS file types. If this setting is not selected, a WebFOCUS report in Excel format will be unable to pass cookies to drill-down reports, and the reports will fail to open. To check the "Browse in same window" option for XLS file types, perform the following steps: 1. Access Windows Explorer. 2. From the Tools menu, click Folder Options. 3. Select the File Types tab. 4. Select the XLS extension and then click Advanced. 5. Select the Browse in same window check box and then click OK. 6. Click Close to exit the Folder Options window. � If you are using Windows NT Challenge/Response, Basic Web server authentication, or both, and you attempt to open a WebFOCUS report that contains a HOLD FORMAT EXL2K statement, you may need to type your user ID and password multiple times before the Excel 2000 output document opens in the Web browser. To resolve this issue, obtain Microsoft Office 2000 Service Release 1/1a (SR-1/SR-1a).
WFConsultant
WF 8105M on Win7/Tomcat
Posts: 780 | Location: Florida | Registered: January 09, 2005
Kamesh, that doesn't seem to be the problem i'm having. When the report format's in excel is does not appear to keep the hyperlink, it is just underlined text. For some reason it is not retaining the hyper link information when it is being formatted as EXL2K. One of the previous posts suggested that Excel is picky, and you have to use the correct OBject=Field syntax set properly, but I can't figure out what that is...
Basically I am using a BY field that doesn't print, except during the subheading. What are the proper style sheets parameters for that? ("TYPE=SUBHEAD, BY=B2," works in HTML, but not in EXCEL).
Lloyd Prendergast Michael Kors (USA), Inc. Phone: 201-453-5076 Fax: 646-354-4776 Lloyd.Prendergast@Michaelkors.com
'not retaining the hyperlink info' means you don't have your FOCEXURL set in the primary report execution, as the post above says. The Subhead thing would be unrelated.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
OK, I looked up FOCEXURL and coded my report to use it. But, I'm still not getting it to work from excel. The HTML version fires fine but not for Excel. It doesn't even apper to be a hyperlink, just underlined text.
Lloyd Prendergast Michael Kors (USA), Inc. Phone: 201-453-5076 Fax: 646-354-4776 Lloyd.Prendergast@Michaelkors.com
Do you actually have the word 'APP' in the FOCEXEC= statement? The 'APP/' should either be removed or the 'APP' should be the application directory name. I haven't tried this so please be advised that this is a guess.
Thanks!
Mickey
FOCUS/WebFOCUS 1990 - 2011
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003
OK, I know what's happening but not sure why, or how to fix it.
I amm trying to supress 'REGION' as column to save space, and only print it as a subheading. I want the drill down to fire from the subheading. When I remove NOPRINT from the by Field for REGION, and put a link there it works, but not in the subhead.
In the drill down wizard I see options for Column Title And Data, Column Data, and Column Title. Does this mean that you cannot attach a Drill Down to a Subhead?
Lloyd Prendergast Michael Kors (USA), Inc. Phone: 201-453-5076 Fax: 646-354-4776 Lloyd.Prendergast@Michaelkors.com
Lloyd, I tried an example for your problem and the code below seems working
rpt1.fex --------- TABLE FILE CAR PRINT CAR MODEL BODYTYPE DEALER_COST BY CAR NOPRINT ON CAR SUBHEAD " CAR : ON TABLE PCHOLD FORMAT EXL2K ON TABLE SET STYLE * TYPE=SUBHEAD, BY=CAR, OBJECT=FIELD, ITEM=1, FOCEXEC=rpt2.FEX(NAME=P1 OUTPUT='EXL2K'),$ ENDSTYLE END -EXIT
rpt2.fex ------- TABLE FILE CAR PRINT CAR BODYTYPE MODEL DEALER_COST WHERE CAR EQ '&NAME' ON TABLE PCHOLD FORMAT &OUTPUT END -EXIT
Hope this helps
WFConsultant
WF 8105M on Win7/Tomcat
Posts: 780 | Location: Florida | Registered: January 09, 2005
rpt1.fex --------- TABLE FILE CAR PRINT CAR MODEL BODYTYPE DEALER_COST BY CAR NOPRINT ON CAR SUBHEAD " CAR : <CAR " ON TABLE PCHOLD FORMAT EXL2K ON TABLE SET STYLE * TYPE=SUBHEAD, BY=CAR, OBJECT=FIELD, ITEM=1, FOCEXEC=MGMTTEST.FEX(NAME=P1 OUTPUT='EXL2K'),$ ENDSTYLE END -EXIT
rpt2.fex -------- TABLE FILE CAR PRINT CAR BODYTYPE MODEL DEALER_COST WHERE CAR EQ '&NAME' ON TABLE PCHOLD FORMAT &OUTPUT END -EXIT
WFConsultant
WF 8105M on Win7/Tomcat
Posts: 780 | Location: Florida | Registered: January 09, 2005
Kamesh, I dont see a drill down in you example, or any Excel formatting, so exactly what is working?
Here is a sample I did with CAR:
SET FOCEXURL=http://SERVER/ibi_apps/WFServlet
TABLE FILE CAR
SUM
CAR AS 'CAR'
MODEL AS 'MODEL'
BODY AS 'BODY'
DEALER_COST AS 'DEALER, COST'
RETAIL_COST AS 'RETAIL, COST'
SALES AS 'SALES'
BY COUNTRY AS 'BY COUNTRY'
BY CAR NOPRINT
BY MODEL NOPRINT
BY BODY NOPRINT
ON COUNTRY SUBHEAD
"SUBHEAD: <COUNTRY "
ON TABLE SET PAGE-NUM OFF
-*ON TABLE NOTOTAL
ON TABLE SET ONLINE-FMT HTML
ON TABLE SET HTMLCSS ON
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET STYLE *
UNITS=IN, PAGESIZE='LETTER', LEFTMARGIN=0.000000, RIGHTMARGIN=0.000000,
TOPMARGIN=0.000000, BOTTOMMARGIN=0.000000, SQUEEZE=ON, ORIENTATION=LANDSCAPE, $
TYPE=REPORT, GRID=OFF, FONT='ARIAL', SIZE=8, COLOR='BLACK', BACKCOLOR='NONE',
STYLE=NORMAL, RIGHTGAP=0.125000, TOPGAP=0.013889, BOTTOMGAP=0.027778, $
TYPE=DATA, FONT='ARIAL', SIZE=8, COLOR='BLACK',
BACKCOLOR=( 'WHITE' RGB(255 255 224) ), STYLE=NORMAL, $
TYPE=TITLE, STYLE=BOLD, $
TYPE=TABHEADING, STYLE=BOLD, $
TYPE=TABFOOTING, STYLE=BOLD, $
TYPE=HEADING, BACKCOLOR=RGB(210 180 140), SIZE=10, STYLE=BOLD, $
TYPE=FOOTING, STYLE=BOLD, $
TYPE=DATA,
COLUMN=N1, SIZE=10, STYLE=BOLD, COLSPAN=2,
FOCEXEC=your report,
$
TYPE=SUBHEAD, SIZE=10, STYLE=BOLD, COLSPAN=2,
FOCEXEC=your report,
$
ENDSTYLE
END
ps. just replace FOCEXEC with a report on your server, any will do. pps. also Change SERVER to your server name.This message has been edited. Last edited by: Kerry,
Lloyd Prendergast Michael Kors (USA), Inc. Phone: 201-453-5076 Fax: 646-354-4776 Lloyd.Prendergast@Michaelkors.com
Thanks Kamesh, I just tried your second example and it worked. I made the changes in my fex and it works also. I think I coded either ITEM or OBJECT wrong, when I was testing.
Lloyd Prendergast Michael Kors (USA), Inc. Phone: 201-453-5076 Fax: 646-354-4776 Lloyd.Prendergast@Michaelkors.com