Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rollover function and CDX's
Message
De
16/02/2000 11:33:21
 
 
À
15/02/2000 20:08:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00331810
Message ID:
00332916
Vues:
14
>>>>Excuse me for asking a stupid question, but did you also SET CENTURY ON?
>>>
>>>set century to 19 rollover 60 implicitly sets century on.
>>
>>No, it does NOT.
>
>You are right, my aplogies. However I confirmed that CENTURY is on. I think I found the problem. The legacy application that inserts the data does not have CENTURY on. Therefore, the index the index can't match my expression. If I reindex the table and try the same seek, everything works as expected.

If you are using dates in an index expression, you should be using DTOS(). This doesn't care if SET CENTURY is ON or OFF as the format is always YYYYMMDD.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform