Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Indexing a date
Message
De
04/06/2005 04:26:25
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Indexing a date
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01020204
Message ID:
01020204
Vues:
81
Hi all,

I have a table with a character field which contains a date in this format: ddmmyy (Example: 110605) [June 11 2005] Now I want to sort the table with the youngest date in the top. How can I do that? When I do like this:

sort on substr(date,5,2)+substr(date,3,2)+substr(date,1,2) to x descending

I got an error message. Can anybody help me with this problem?

Thanks in advance
Ron
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform