Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Order by with local view
Message
From
22/11/2021 13:10:14
 
 
To
22/11/2021 10:21:47
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01682763
Message ID:
01682774
Views:
46
>>I would like for the positive numbers to list on top so as to go from higher to lower. Is there a way around that/this?
>>
>Add an extra field, ..., abs(fieldxy) as absval, ... order by absval descending
>
>You don't need to show that extra field anywhere, just use it for ordering.

I've never used local views, and in TSQL you can't use ORDER BY in a view, however would ORDER BY ABS(fieldxy) DESCENDING work?
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform