Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] BY - Conflict in Sorting
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] BY - Conflict in Sorting
 Login/Join
 
Guru
posted
Hi,

I have a column in my Database table, which will be having data as Alphabets, numbers or combination of both...

Sample
-------
X
1
A
2B
RC


When I do a sorting BY(of) that column, The sorting is happening in such a way that Alphabets comes first and then the numbers...

Sample Sort
---------------
A
RC
X
1
2B


But in general, in any other programming language or Database, It is vice versa... Numbers always are sorted prior.

Is there a direct way of resolving this in webfocus?

While sorting, I need the numbers to come first and then the Alphabets.

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


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
 
Posts: 394 | Location: Chennai | Registered: December 02, 2009Reply With QuoteReport This Post
Guru
posted Hide Post
Take a look at this.

The situation is not driven by WF but by the encoding on your platform.

Google "collating sequnce" for more information.

HTH


jimster06
DevStu WF 7.6.11
W7
HTML, PDF, EXL2K
 
Posts: 252 | Location: USA | Registered: April 15, 2003Reply With QuoteReport This Post
Guru
posted Hide Post
quote:
collating sequnce


Thank you Jim for the input.. I will check on this and let you know.


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
 
Posts: 394 | Location: Chennai | Registered: December 02, 2009Reply With QuoteReport This Post
Expert
posted Hide Post
Jim,

Thanks for monitoring this forum from the rocking chair on your porch.

Cheers and have a great summer,

Francis.
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Reply With QuoteReport This Post
Guru
posted Hide Post
Thanks Francis.

And in the winter I monitor the forum from my lanai on Maui!

There is life after TABLE FILE!


jimster06
DevStu WF 7.6.11
W7
HTML, PDF, EXL2K
 
Posts: 252 | Location: USA | Registered: April 15, 2003Reply With QuoteReport This Post
Expert
posted Hide Post
I jealous Jim, and thanks for giving me/us all hope for the after life.
Smiler


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!

 
Posts: 6278 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Reply With QuoteReport This Post
Guru
posted Hide Post
quote:
There is life after TABLE FILE!

Good One


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
 
Posts: 394 | Location: Chennai | Registered: December 02, 2009Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] BY - Conflict in Sorting

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.