Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor Order
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01523710
Message ID:
01523713
Views:
45
This message has been marked as a message which has helped to the initial question of the thread.
>I have an existing cursor statement which opens the cursor in ascending client then ascending created order
>
>How do I change the order to ascending client then DESCENDING created order
>
>Created is a datetime field
>
>SELECT created,accountno,acclient,quoteref FROM quotation ;
> WHERE ! EMPTY(created);
> ORDER BY acclient ,created INTO CURSOR quotelist readwrite
>
>Thanks
>
>Colin

Add DESC after created
>SELECT created,accountno,acclient,quoteref FROM quotation ;
>	WHERE ! EMPTY(created);
>	ORDER BY acclient ,created DESC  INTO CURSOR quotelist readwrite
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform