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     [SOLVED] PRINT FIELD1 *

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] PRINT FIELD1 *
 Login/Join
 
Platinum Member
posted
This is tough to explain, but let me try:

I am printing a revenue report, where each new date will add a new field to the output. So, right now it looks like this


These are the column titles:
Dept MTD_budget 12/16/2009 12/15/2009 12/14/2009 ....
100 $1000 $500 ...
201 $200 $50 ...

So, you can see that each new day will add a new column to the report.

Problem is that the anal finance people want the columns rearranged something like this:

Dept 12/16/2009 MTD_budget 12/15/2009 12/14/2009

So, I was wondering if there is a way to say

TABLE FILE REVENUE
PRINT DEPT E09 MTD_BUDGET and then all other columns
END

E09 is the alias from the latest hold file for the most current date. I can't PRINT the columns by name because each day will bring a new column.

This message has been edited. Last edited by: Mark1,


Windows version 768
 
Posts: 215 | Registered: March 16, 2006Report This Post
Platinum Member
posted Hide Post
Try SEQUENCE . This might be what you need.

This request rearranges the order in which columns normally appear in the report, that is, with SNAME first, PRODCAT second, and LINEPRICE third.

SET ONLINE-FMT = PDF
TABLE FILE CENTORD
SUM LINEPRICE AS 'Sales'
BY SNAME BY PRODCAT AS 'Product'
WHERE SNAME EQ 'eMart' OR 'City Video'
ON TABLE SET PAGE-NUM OFF
ON TABLE SET STYLE *
TYPE=REPORT, COLUMN=SNAME, SEQUENCE=3, $
TYPE=REPORT, COLUMN=PRODCAT, SEQUENCE=2, $
TYPE=REPORT, COLUMN=LINEPRICE, SEQUENCE=1, $
ENDSTYLE
END


WF 7.7.02 on Windows 7
Teradata
HTML,PDF,EXCEL,AHTML
 
Posts: 165 | Registered: September 29, 2008Report This Post
Platinum Member
posted Hide Post
I think that is going to work beautifully! Thank you!!!


Windows version 768
 
Posts: 215 | Registered: March 16, 2006Report 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     [SOLVED] PRINT FIELD1 *

Copyright © 1996-2020 Information Builders