Versions des environnements
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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement