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.
Hello, I have multiple TABLE requests and would like them all display in EXCEL. Right now, only the first TABLE request is displaying in EXCEL, what am I doing wrong?
TABLE FILE 201720_CENSUS_CAREER HEADING CENTER "FSU Census Headcount Validation - IPEDS" "Snapshot Term Code: COUNT STUDENT_CID AS 'TALLY' BY CAREER AS 'CAREER' BY MAJOR_1_DEGREE_LEVEL AS 'DEGREE LEVEL' BY CLASS_LEVEL AS 'CLASS LEVEL' WHERE EXCLUDE_FROM_IPEDS_FLAG EQ 'N' AND PRIMARY_CAREER_FLAG EQ 'Y' ON CAREER SUBTOTAL ON TABLE PCHOLD FORMAT EXL2K END
DEFINE FILE 201720_CENSUS_CAREER CLASSIFICATION/A20 = IF ((CAREER EQ 'Undergraduate') AND (CLASS_LEVEL EQ 'First Year Undergraduate') AND (ENROLLMENT_STATUS_CODE EQ '1')) THEN 'First-time Freshmen' ELSE IF ((CAREER EQ 'Undergraduate') AND (CLASS_LEVEL EQ 'First Year Undergraduate') AND (ENROLLMENT_STATUS_CODE EQ '2' OR '3' OR '4' OR '5' OR '6' )) THEN 'Other Freshmen' ELSE ' '; END
TABLE FILE 201720_CENSUS_CAREER HEADING CENTER "FSU Census Headcount Validation - IPEDS" "Snapshot Term Code: COUNT STUDENT_CID AS 'TALLY' BY CAREER AS 'CAREER' BY CLASSIFICATION BY CLASS_LEVEL AS 'CLASS LEVEL' WHERE EXCLUDE_FROM_IPEDS_FLAG EQ 'N' AND PRIMARY_CAREER_FLAG EQ 'Y' AND CLASSIFICATION NE ' ' ON CAREER SUBTOTAL ON TABLE PCHOLD FORMAT EXL2K END -EXITThis message has been edited. Last edited by: Tamra,
What's going on is that the first ON TABLE PCHOLD already sent the output to the client, so the second one came too late.
You need to combine both Excel sheets on the server side and then send it to the client.
I haven't done this with EXL2K, but you probably need to create a COMPOUND EXL2K document. Aside from the documentation, there are posts on these forums that explain how.
The other option applies if you can create both outputs in a single TABLE FILE request with a common sort field. You can create a BYTOC report, that uses the first BY field to split the Excel output across multiple sheets within the worksheet.
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
TABLE FILE CAR
SUM SALES
BY CAR
HEADING
"Sales by CAR"
ON TABLE PCHOLD FORMAT EXL2K OPEN NOBREAK
END
TABLE FILE CAR
SUM SALES
BY MODEL
HEADING
""
"Model by CAR"
ON TABLE PCHOLD FORMAT EXL2K CLOSE
END
-Rifaz
WebFOCUS 7.7.x and 8.x
Posts: 406 | Location: India | Registered: June 13, 2013