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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only