Look The thing is that I want to validate a textbox so I have a textbox formated like a date. When I type data like 55/25/1699, a invalid data message is diplayed but I want to change message with different sentence
How Can I do it?
the thing is when I type a invalid date it doesn't execute any method, I already put a message in error method, but it doesn't display the message.
When I type 23/56/5220 the focus stays in the same textbox only display invalid date message, I don't know, I already put set notify off to quit this message but the focus stays in this control, I just need to find the way to display my own message.
I've encountered this problem before, too, when developing a multi-language system (where "Invalid date" would always be in English).
As I recall, the only way we could get around it was make the textbox have a character value, and use " / / " as the inputmask. Since it is character type, VFP wouldn't do date-validation on it. Robert Bradley
Sr. DBA, some big company
cheap prints and oil paintings:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.