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.
you can run a query where you first hold the data while you add a sequence number to it and in the next step you calculate a row and line number out of the sequence.
TABLE FILE XXX PRINT X Y COMPUTE SEQUENCE/I3=SEQUENCE+1; COMPUTE ROW/I3=MOD(SEQUENCE/10)+1; COMPUTE COLOM/I3=SEQUENCE-ROW*10; (there are some smart functions that will give you both numbers, but I do not know them by hart) ON TABLE HOLD END TABLE FILE HOLD SUM X Y BY ROW ACROSS COLOM END
Frank
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006
thank you Frank for the answer, unfortunatly it didnt help me much.
I had task to create pretty difficult report from table consisted from two fields: id, value. ID field had to be populated in 2 dimensions matrix (20x10 or so).
I have tried your suggestion, with some minor changes I got your example working, but for my task it wasnt good solution.
I chose other work-arround technique - first of all I created large SQL query with 10 UNION statements and many sub selects. In other words - I used SQL to create 2 dimensions matrix (table2) filled up with values from first table. This table2 is updated once per month on sql server side.
To retrieve data from table2, I used stored procedure WF report.
Another very tough task was to format well looking table header in WF report (html output). Unfortunatly I didnt find way how to merge header cells and make header to have few levels: first level of few merged cells, and second level (below first row) - detailed columns titles.
WF 7.1. Excel 2k, Excel Pivot, HTML
Posts: 9 | Location: Vilnius, Lithuania | Registered: August 12, 2005