Focal Point
Column to row conversion

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/6621002692

August 20, 2008, 09:05 AM
<Arun>
Column to row conversion
Hi All,
i have a problem in creating a table report, where the column values needs to be displayed row wise. The following should explain what i am expecting:

I have a query :

select column1, column2, column3 from table1;
(This query will always return only 1 row)

Currently the report output(HTML) looks like this:

Column1 Column2 Column3
A 12 78


But i want my report to be like :

Column1 A
Column2 12
Column3 78

Is there anyway through which i can achieve the above format?


DDL for table:
Create table table1(column1 char(1),column2 number,column3 number);
August 20, 2008, 09:11 AM
Spence
TABLE FILE XXXXXX
PRINT COLUMN1
OVER COLUMN2
OVER COLUMN3
END


WF 8 version 8.2.04. Windows.
In focus since 1990.
August 20, 2008, 09:12 AM
Prarie
TABLE FILE WHATEVER
PRINT COLUMN1 OVER
COLUMN2 OVER
COLUMN3
END


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
Well there ya go...two answers at once.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
U guys are rocking :-) . Thanks for immediate reply

Thanks,
Arun