Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
4 digit year in browse
Message
De
23/03/1998 17:56:34
 
 
À
19/03/1998 10:32:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00085514
Message ID:
00086568
Vues:
28
>>>Does anyone know of a way to force a mm-dd-yy format for any date field that contains a date greater than 12/31/1999 when using the browse command? SET CENTURY OFF does not seem to work and I don't want to use the WHEN or VALID clauses on the BROWSE command.
>>Mike,
>>
>>You cannot. The four digit display of dates beyond 1999 is the way it is. I know you don't like the answer, adn I don't necessarily like it either. But that is the way it works and kowing this will save you alot of effort on a fruitless persuit.
>
>Thanks a lot for your response. You're right, I'm not too happy about it, but I am glad to end my struggle with it.
I am running VFP 5.0a, service pack 3, and I don't understand this thread. If I have a D field with a value of '01/01/2000', I SET CENTURY ON, do a browse and see '01/01/2000'. I SET CENTURY OFF, do a browse and see '01/01/00'. What did I miss?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform