Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor Order
Message
 
À
16/09/2011 07:27:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01523710
Message ID:
01523716
Vues:
42
>>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
>
>You can add DESCENDING after CREATED in the select statement. Or you can Index on acclient + dtoc(created,1) tag something.

Thanks a lot
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform