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     Compound report in EXCEL format - shows html code instead of data

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Compound report in EXCEL format - shows html code instead of data
 Login/Join
 
Member
posted
Hello,
I'm having a problem with report which shouild be displayed in Excel. Instead of report data, it shows the html code in excel file such as:

 <STYLE TYPE="text/css">
<!--
TD { vertical-align:top; padding-left:6pt; padding-right:9pt; }
.x1 { font-family:ARIAL; font-size:9pt; }
.x2 { font-family:ARIAL; font-size:9pt; text-align:left; }
.x3 { font-family:ARIAL; font-size:9pt; text-align:left; }
....etc.
 


Basically i have a compound report where i call my stored proc twice with different parameters.
So I create a hold file for each table and then run it. In my ASP.NET application i receive the string output and
send it to Excel such as:
Response.ContentType = "application/ms-excel";
Response.AppendHeader("content-disposition", "attachment; filename=" + "Taxation Report" + ".xls");
Response.Write(reportOutput);
Response.End();
Response.Close();

The problem is that the report used to work this way. And now it does not. I have not changed any settings.
Does anyone know what could be the problem and is there a different way to create compund report in Excel?

THANKS Smiler

WF report snippet:
-********************************************
-* SP 1: TO RUN FOR 'DONATION'
SQL SQLMSS
EX dbo.rptDN_Taxation 'B', '&STARTDATE', '&ENDDATE', '&MYLANG', '&MYUSERID';

TABLE FILE SQLOUT
PRINT *
ON TABLE HOLD AS SHHOLD1 FORMAT ALPHA
END
TABLE FILE SHHOLD1
PRINT
OrgName
City
Registration_NO
Amount/D12.2CM
BY ChargeLocation
.....
-RUN

-********************************************
-* SP 2: TO RUN FOR 'FOUNDATION GRANT'
SQL SQLMSS
EX dbo.rptDN_Taxation 'F', '&STARTDATE', '&ENDDATE', '&MYLANG', '&MYUSERID';
TABLE FILE SQLOUT
PRINT *
ON TABLE HOLD AS SHHOLD2 FORMAT ALPHA
END
TABLE FILE SHHOLD2
PRINT
OrgName
City
Registration_NO
Amount/D12.2CM
BY ChargeLocation
....
-RUN
-HTMLFORM BEGIN
!IBI.FIL.SHHOLD1;
!IBI.FIL.SHHOLD2;
-HTMLFORM END


DevStudio 7.6
Windows
Output: Excel, HTML
 
Posts: 1 | Registered: December 13, 2007Report This Post
Platinum Member
posted Hide Post
Rather then going through an HTML page with ALPHA output would this work for you:

TABLE FILE SHHOLD1
PRINT
OrgName
City
Registration_NO
Amount/D12.2CM
BY ChargeLocation
ON TABLE HOLD AS TEST1 FORMAT EXL2K OPEN
END

TABLE FILE SHHOLD2
PRINT
OrgName
City
Registration_NO
Amount/D12.2CM
BY ChargeLocation
ON TABLE HOLD FORMAT EXL2K CLOSE
END
 
Posts: 140 | Registered: May 02, 2007Report 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     Compound report in EXCEL format - shows html code instead of data

Copyright © 1996-2020 Information Builders