Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Indexing a date
Message
From
04/06/2005 04:26:25
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Indexing a date
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01020204
Message ID:
01020204
Views:
83
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
Next
Reply
Map
View

Click here to load this message in the networking platform