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     Changing Columns from vertical to horizontal

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Changing Columns from vertical to horizontal
 Login/Join
 
Member
posted
Forgive me if this is an easy question, but I'm very new to webfocus.

How do I change the display output of a report from horizontal to vertical? Here's what I mean:

I have a table that has 40 columns in it. Let's call them c1 through c40. So, my fex looks like this:

TABLE FILE FILE1
PRINT
   C1
   C2
   C3
   .
   .
   .
   C40
WHERE C1 EQ '&SOMEVALUE'
END


When the report is run, it comes out like so:

C1     C2    C3   ...   C40
V1     V2    V3   ...   V40


How can I make the report come out like this:

C1   V1
C2   V2
C3   V3
.
.
.
C40  V40


Thanks for any help!

Chris
Atlanta, GA
 
Posts: 19 | Registered: October 24, 2006Report This Post
Expert
posted Hide Post
Try the OVER command:

TABLE FILE FILE1
PRINT
C1 AS '' V1 AS ''
OVER
C2 AS '' V2 AS ''
...

Unfortunately, OVER plays havoc with your column titles (remove the AS '' to see what I mean), so you will have to put them in the HEADING, which opens up a can of worms, alignment wise.

I don't want to scare you, but these are the facts. I hope someone else has a better idea.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
PRINT
C1 OVER
C2 OVER
C3 OVER
,,,

Try the above


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Member
posted Hide Post
Thanks, guys! That did the trick.
 
Posts: 19 | Registered: October 24, 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     Changing Columns from vertical to horizontal

Copyright © 1996-2020 Information Builders