>>In VFP5 if ...
>>SET CENTURY OFF
>>SET CENTURY 20 ROLLOVER 60
>>and I create a date text box on a form with a value of {}, then enter a date of say 12/12/89, it displays just that. If I enter a date of
>>12/12/12 the display changes to 12/12/2012 with the last '12' partly hidden.
>>If I use VFP6 it's more consistent, but the full century always shows, despite it being turned off.
>>
>>What gives? Can I make it work to only accept and display the 2 digits?
>
>What gives is that SET CENTURY is scoped to the datasession... so, you have to make sure to run your SET CENTURY commands in EACH form with a private data session.
>
>BOb
I have 'set century off' in my base class load event for private datasessions. I wish it was that easy but that's not the problem. See Jim's reply.
But thanks anyway Bob :-)
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