Welcome! Log In Create A New Profile

Advanced

WD10: Alphanumeric sort of a query

Posted by Stefan Bentvelsen 
Stefan Bentvelsen
WD10: Alphanumeric sort of a query
March 13, 2009 10:29AM
Hi,

I have a file with a numeric value which I want to retrieve by an query sorted alphanumeric on the numeric value. So the order should be '1', '11', '12', '2', etc. instead of 1, 2, 11, 12. I use HyperFile and the problem now is that HF (WD10) does not support the sql STR() statement. How can I get the records on alphanumeric order without changing the filedefinition in the analysis ?
Arie
Re: WD10: Alphanumeric sort of a query
March 13, 2009 10:44AM
Stefan,

in WD 12 you can use the WL-keyword for using WL-language in querys. I don't know about WD10.
SELECT wl.NumToString(Field) FROM table
SELECT Task.Caption FROM Task WHERE WL.DateDifference(Task.StartTime, Task.EndDate) > 5

Arie
Stefan Bentvelsen
Re: WD10: Alphanumeric sort of a query
March 13, 2009 11:07AM
Hi Arie,

thanks for your response, but WD10 does not support WL-statements in queries, so I cannot use that.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: