Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
2000 dates
Message
 
 
À
14/04/2000 08:05:15
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Divers
Thread ID:
00359723
Message ID:
00359730
Vues:
13
>Hello:
>
>I've been given a foxpro2.6 table that someone is trying to query on field called date which is 6 characters. I've never used 2.6
>, I'm using 5 and 6.
>
>When they do a delete for date != {01/01/00}
>it deletes all records with this date , it's not recognizing 00 . Any work around for this? Seems like it's setting to 1900.
>
>If I set century on it still doesn't do the query. Any input would be appreciated.
>THanks.
>
>Sheena

Sheena,

In Foxpro 2.6 century alwys defaults to 1900.
Your When condition date != {01/01/00} is actually date != {01/01/1900}.

You have to specify century explicitly date != {01/01/2000}
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform