Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date Textbox and Set Century
Message
From
23/09/1998 11:39:20
 
 
To
23/09/1998 11:35:19
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00139860
Message ID:
00139873
Views:
29
I put the same call in the BeforeOpenTables event of the form's dataenvironment and it works. Thanks!!

>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?
Mark Johns
Previous
Reply
Map
View

Click here to load this message in the networking platform