Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Year 0000
Message
 
 
To
12/04/2005 15:58:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01003937
Message ID:
01003961
Views:
14
It seems like I'm getting this error if nothing was entered in the date field. It it has date already, it doesn't give me an error and I'm able to go out of this field. However, when I set focus back, it shows 1900 as a year. I'm going to verify, if it's VFP native behavior or it's my date class showing this behavior.

Update. It is something peculiar to my own class. I'm going to dig in.

>Look at SET ROLLOVER. If you want it to error, you'll have to do it yourself.
>
>>Hi everybody,
>>
>>If a user types 0000 as a year in date fields, it converts automatically to 1900. Is it VFP native behavior? The user thinks, that it should display an invalid date message instead. What do you think? How can we make it generic?
>>
>>Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform