Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Desc and order by on VFP9
Message
 
 
To
03/05/2005 09:45:44
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01010444
Message ID:
01010447
Views:
23
What exactly doesn't work? Do you get an error? Would following query give you ressult you're looking for?
SELECT lastname,firstname from myfile ;
into cursor mycursor ;
order by lastname desc,firstname desc 
>I find a strange behavior using 'DESC' and 'order by'. i.e. 'select lastname,firstname from myfile into cursor mycursor order by lastname,firstname desc' do not work. without 'desc' or without 'firstname' (with only one order by) it works.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform