Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forcing 4 digit entry of the century part of a date
Message
 
To
14/09/1998 06:35:38
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00136067
Message ID:
00136109
Views:
31
Hi James,

I'm not sure, but it looks likes you're making an incorrect assumption here. In the first example, you say that if the user has a bond that matures on 1/1/2109 and they would be likely to enter 01/01/19. Why? Further, the SET CENTURY...ROLLOVER correctly interprets that entry as 01/01/2019.

To enforce entry of non-ambiguous dates, VFP 6.0 has SET STRICTDATE as well as a StrictDateEntry property to control this.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform