Information générale
Catégorie:
Codage, syntaxe et commandes
>>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement