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.
We have users that we are distributing compound reports to in EXL2K format. Some of those users however are using Excel 2004 for MAC on OSX.
Mac Office doesn't seem to support the .xht webfocus exl2k file format. Can anyone suggest a solution to be able to send a compound report to a MAC user either in excel format or something else?
As per JG's suggestion, converting to "real" .xls format is your best option. Depending upon how you distribute your files, I use a VBScript to save files as pukka .xls format before the users get their hands on it (them), happy to supply a suitable script for you.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
On Error Resume Next
const xlNormal = 1
Set objExcel = CreateObject("Excel.Application")
if Err.Number <> 0 then
Wscript.Echo "Excel application not installed."
Wscript.Quit
end if
Set objBook = objExcel.Workbooks.Open("\\electra\C$\userinfo\R1378_Data\R1378.xls")
objExcel.DisplayAlerts = False
objExcel.ActiveWorkbook.SaveAs objBook.FullName, xlNormal
objExcel.DisplayAlerts = True
objBook.Close
objExcel.Quit
Set objBook = Nothing
Set objExcel = Nothing
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
No, it's server side (could be either). I write it out to a temporary vbs file and as the last part of the fex I execute the script. It does require Excel on the server of course and you can always get the script to erase itself on completion. The downside is that you need to write to a network drive but a small overhead if it means you can still get the output that you want.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Very true, but as Ken hasn't updated his signature to identify server platform and release (Ken - hint!!) then there is an expectation of either no relavant replies or a few gentle reminders on the signature
The workaround I used at my current Client was to kick the VBScript process off on a windows machine that had Excel installed using AT or the newer alternative. A bit hammer and nut situation but it worked until we were given the go ahead to install Excel on the server. Most, if not all, of the workbooks requiring the VBScript treatment are generated within RC processes but for end user delivery I just write Macros into the workbooks that performs a similar function as the script - not possible from non Excel apps like open office I know, but usually delivers a 2/3 space saving over the xht format.
As you say, if you can't use the VBScripts then the third party method is the way to go.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
What about something like this, this creates an xls file:
SET PAGE=NOLEAD
-RUN
TABLE FILE CAR
SUM SALES
ACROSS BODYTYPE AS ''
BY COUNTRY
BY MODEL
HEADING
"Car Sales"
" "
ON TABLE SET HTMLCSS ON
ON TABLE HOLD AS H001 FORMAT HTML
ON TABLE SET STYLE *
TYPE=REPORT, FONT='Arial', SIZE=10, COLOR=BLACK, STYLE=NORMAL, GRID=OFF, $
TYPE=HEADING, COLOR=NAVY, STYLE=BOLD, SIZE=11, $
TYPE=TITLE, COLOR=BLUE, STYLE=BOLD, $
TYPE=ACROSSVALUE, COLOR=BLUE, STYLE=BOLD, $
ENDSTYLE
END
-RUN
SET HTMLFORMTYPE=XLS
-RUN
-HTMLFORM H001
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
Tony, I neglected testing this for compound Excel reports, sorry! As well, since MS Excel 2003 or greater is a requirement for Compound Excel reports, perhaps my suggestion is not even relevant.
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
Francis, yes the problem is you cannot create the compound documents in HTML, and as I said in the Open Office tread, i'ts still an HTML document with a .xls extension not a binary.