Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sorting Numerical Fields
Message
 
 
To
23/07/2003 13:45:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00812859
Message ID:
00812860
Views:
22
PADL(ALLTRIM(myfiled), < field len >, '0')
>How do I sort a table on a numerical field so that I get the following:
>
>1
>10
>100
>101
>102
>1001
>1002
>etc...
>
>as opposed to this:
>1
>10
>100
>1001
>1002
>101
>102
>etc....
>
>Thanks in advance for your help,
>Russell
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform