Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set century to
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00122405
Message ID:
00122426
Views:
19
>I have a problem with date editing in a textbox.
>I have a textbox with the controlsource set to a date field.
>I have set century to 19 rollover 10 off.
>the box displays dates in the form 99/99/99, as it should.
>When editing, all works well except when the rollover is executed
>at which time the textbox then shows the date with set century on
>in the form 99/99/9999.
>Is this a fault of VFP5 or am I no missing something?
>Thanks for your help
>Spencer Fried
>sfried3@ix.netcom.com

Spencer,

This is by design according to Micorsoft. It has to do with preventing confusing dates from being displayed.

VFP6 gives even more control over this, but if you use VFP6 in a mode for Y2K compliance it will require you to use 4 digit years. For example, what date it this;

01/01/92

Well, it might be 1992, or 2092, but, in fact, when I typed it I was thinking of 1492 when Columbus sailed the ocean blue.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform