Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Loose StrictDateEntry
Message
From
28/01/2005 15:26:52
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
00981831
Message ID:
00981880
Views:
26
Nadya, the issue is in 'StrictDateEntry' vs 'StrictDate' (see Nancy's code). StrictDateEntry = 0, without the D format, will allow you to enter whatever you like, but it will not accept it as valid when you're done. It will simply put the value back to an empty datetime and give you no message. You have to check the validity yourself in your own valid().

>>That's because of "D" in Format Property. I don't thing it shuold be here for DateTime
>
>Right. But what should be for Datetime? I do not see format for datetime in the Help for Format property.
>
>BTW, I'm leaving in 10 minutes, since I observe Shabbat. Would really want to fix it before that.
>
>And, BTW, with StrictDate = 1 you can edit time portion with D format.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform