Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with seek and DateTime() index
Message
 
To
05/06/1999 01:27:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00226705
Message ID:
00226782
Views:
30
>Hi Denis ---
>
>We have seen this one before. There seems to be a problem with SEEK and datetimes.....the solution would be to use TTOC() in the index expression and the SEEK.

John,

The problem is that DateTime is stored with an resolution to milliseconds, but we can only access to seconds, therefore there is little possibility that the value we seek will exactly occur in the data. SET EXACT OFF and SET NEAR ON may help with this.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform