Focal Point
[CLOSED] Limit in number of BY's

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

June 13, 2014, 05:38 AM
Ramya
[CLOSED] Limit in number of BY's
Hi,

I have a code as follows

TABLE FILE HOLD
PRINT
xxx
yyy
BY aaa
BY bbb
BY ccc
END
-RUN

The last BY is not working. Even if I change the order, whatever has been put in last position does not seems like working.

Can someone let me know if there is any limit in number of BY's that should be used in the code?

Thanks,
Ramya

This message has been edited. Last edited by: <Kathryn Henning>,


WebFocus 7702
HTML
June 13, 2014, 05:58 AM
Ramkumar - Webfous
Hello Ramya,

I don't think there is any such limitation on the number of the BY fields. I have used upto 15, 20 BY fields in some of my reports. so 3 in your case is not a limit at all. Try changing the order of the BY fields and see if the BY happens properly on "ccc". Should be some data problems or structure that might not do grouping correctly..


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
June 13, 2014, 07:20 AM
Ram Prasad E
Yes there is a limit. You can have upto 128 sort phrases(BY + ACROSS).
But in your case, there should not be any issue. There could be some issue with data like extra space and that cause the issue.
Thanks,
Ram


WebFOCUS 8.1.05
Windows
http://ibiwebfocus.wordpress.com
https://www.facebook.com/groups/ibi.webfocus/
June 15, 2014, 06:16 PM
Waz
Can you repro this with one of the sample files ?, or give example data ?

What is the source of the HOLD file ?

Is the data Unicode ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!