Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with seek and DateTime() index
Message
 
À
05/06/1999 01:27:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00226705
Message ID:
00226782
Vues:
28
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform