Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Y2K and indexing on dates VFP 5.0
Message
From
10/01/2000 13:03:15
 
 
To
10/01/2000 12:55:15
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00315604
Message ID:
00315609
Views:
25
Sounds like you have a character field instead of a date field. Date fields are stored internally as YYYYMMDD and index just fine. If you're storing dates as character strings in an MM/DD/YY format then it's likely you've got other problems too. I'd suggest modifying the table(s) and changing to real date fields. BTW you can generate a sortable string of a date field with the DTOS function, this can be useful in a compound index expression.

>MyTable with a date field (8 spaces- i.e 01/10/00) won't index properly. I set order to Date and the 2000 entries appear at the top of the list. How can this be fixed?
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Previous
Reply
Map
View

Click here to load this message in the networking platform