Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET CENTURY Weirdness
Message
From
12/02/2000 23:39:50
Chris Crachiolo
Blackmoor Associates Incorporated
New York City, New York, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
SET CENTURY Weirdness
Miscellaneous
Thread ID:
00331470
Message ID:
00331470
Views:
54
In a formset's Init method I have SET CENTURY ON followed by SET CENTURY TO 20. However, in one of the forms, a text box into which a date is entered still defaults to the 1900s when a two-digit year is entered. I confirmed that the desired CENTURY setting is in effect by switching to the formset's data session and entering "? {1/1/00}" in the command window, which shows as 1/1/2000, as expected. The text box's Century, Date Format, and StrictDateEntry properties are all set to the default values. I don't believe I'm doing anything different than I've done before, and I've never had this problem. Anybody know what I missed? Thanks in advance.
"Ignorance more frequently begets confidence than does knowledge."
-- Charles Darwin
"I am invincible! Invincible...OWWWWWWWW!"
-- Homer Simpson
Next
Reply
Map
View

Click here to load this message in the networking platform