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     2 reports in one excel sheet

Read-Only Read-Only Topic
Go
Search
Notify
Tools
2 reports in one excel sheet
 Login/Join
 
Platinum Member
posted
Hi,
I want something like
TABLE FILE CAR
PRINT
COUNTRY
ON TABLE PCHOLD FORMAT EXL2K
END
TABLE FILE CAR
PRINT
MODEL
ON TABLE PCHOLD FORMAT EXL2K
END

Only the 1st one comes in the excel sheet.
How do i show both reports in the same ecel sheet?
 
Posts: 109 | Registered: January 31, 2006Report This Post
Expert
posted Hide Post
Karanth,

There was a recent posting that described how to do this by J.G. (I think). Try the Find function to locate it.

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, 2004Report This Post
Master
posted Hide Post
As Tony Said, you can find the recent post about this posted by JG OR you can get this by using the code below,

TABLE FILE CAR
PRINT
COUNTRY
ON TABLE PCHOLD FORMAT EXL2K OPEN NOBREAK
END

TABLE FILE CAR
PRINT
MODEL
ON TABLE PCHOLD FORMAT EXL2K CLOSE
END


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Expert
posted Hide Post
Quite right Kamesh, however I was thinking more along the lines of two reports - two worksheets (or "tabs").

This code will provide seperate worksheets using BYTOC -

DEFINE FILE CAR
 BREAK1/A20 = 'COUNTRY';
 BREAK2/A20 = 'CAR';
 BREAK3/A20 = 'MODEL';
END
MATCH FILE CAR
PRINT COUNTRY
   BY BREAK1 AS BREAK 
RUN
FILE CAR
PRINT CAR
   BY BREAK2 AS BREAK 
RUN
FILE CAR
PRINT MODEL
   BY BREAK3 AS BREAK 
AFTER MATCH HOLD OLD-OR-NEW
END
TABLE FILE HOLD
PRINT COMPUTE DATAFIELD/A30 = IF BREAK EQ 'COUNTRY' THEN COUNTRY
                         ELSE IF BREAK EQ 'CAR' THEN CAR ELSE MODEL;
   BY BREAK
ON TABLE PCHOLD FORMAT EXL2K BYTOC
END


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, 2004Report This Post
Master
posted Hide Post
Tony,
This one is good to know. I used to write compound report to get in to separate excel sheet.

Good, atleast I learn something today.


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 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     2 reports in one excel sheet

Copyright © 1996-2020 Information Builders