Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date Textbox and Set Century
Message
From
23/09/1998 11:31:54
 
 
To
23/09/1998 11:28:38
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00139860
Message ID:
00139866
Views:
28
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform