Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date Textbox and Set Century
Message
De
23/09/1998 11:39:53
 
 
À
23/09/1998 11:35:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00139860
Message ID:
00139874
Vues:
34
Put a generic button on the screen with WAIT WINDOW SET("CENTURY") in the Click event. See what it says. Then just for sh*ts and grins, try my idea :)

>I have code in the init of the form that calls a procedure that does all the settings. I have checked the settings in the gotfocus of the text box and they appear correct.
>
>
>
>>Hi Mark ----
>>
>>If the form has it's own private datasession it won't respect default SET CENTURY settings....put those settings in the BeforeOpenTables event of the form's dataenvironment.
>>
>>
>>>I have a form that I am entering dates in a textbox. I have SET CENTURY ON and SET CENTURY TO 19 ROLLOVER 25. If I add records directly to the table in browse window I can enter 01/02/10 and have it store as 01/02/2010. However entering the same thing in the form the date is stored as 01/02/1910. I have checked the settings in the data session and they are correct. Is there something I need to do in the textbox to get the rolloveer to work?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform