Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Indexing a date
Message
From
04/06/2005 05:51:43
 
 
To
04/06/2005 04:26:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01020204
Message ID:
01020209
Views:
16
index on substr(date,5,2)+substr(date,3,2)+substr(date,1,2) to temp descending
copy to x
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform