Focal Point
Group By Alignment

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

October 26, 2007, 07:35 AM
Gobinath Velusamy
Group By Alignment
Hi

when we use the
A
B
C
BY D

The normal output will be

D A
B
C

But my desired output should b e


D A
D B
D C

i have to group by D only

How to achive this formnat?

Thanks in Advance ...


WebFOCUS 7610
Windows
October 26, 2007, 07:39 AM
RickW
SET BYDISPLAY = ON


WebFOCUS 7.6.6/TomCat/Win2003,SQL Server 2005,Oracle
October 26, 2007, 07:39 AM
Shrikant
Hi,

Please use:


PRINT D
      A
      B
      C
BY D NOPRINT
END




FOCUS 7.2.3
Platform: IBM system Z9 Business class
O/P formats: Flat files, excel and CSV files
October 26, 2007, 07:54 AM
Gobinath Velusamy
Hi Ricky

Where can i use the SET BYDISPLAY = ON ? In Stule sheet ? or anywhee else

i am using this code


SQL SQLMSS
SELECT * FROM ;


TABLE FILE SQLOUT

PRINT
*
ON TABLE HOLD
END

TABLE FILE HOLD
PRINT
Full_Name AS ''
Account
Branch_Name AS ''
BY EndDate
END



Where can i use SET BYDISPLAY = ON ?


WebFOCUS 7610
Windows
October 26, 2007, 07:55 AM
Gobinath Velusamy
Hi Shrikant

It is not working

Again i got

D A
B
C

Only i got


WebFOCUS 7610
Windows
October 26, 2007, 08:06 AM
FrankDutch
Gobinath

Rick's suggestion is ok, but in the code you have to say

TABLE FILE HOLD
PRINT 
Full_Name AS ''
Account
Branch_Name AS ''
BY EndDate
ON TABLE SET BYDISPLAY ON 
END


The other suggestion is also ok if you do

TABLE FILE HOLD
PRINT 
EndDate
Full_Name AS ''
Account
Branch_Name AS ''
BY EndDate NOPRINT

END





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

October 26, 2007, 08:12 AM
Gobinath Velusamy
Thanks Guys

It is working Fine.


WebFOCUS 7610
Windows