Originally posted by beachbum
Hi
Ok a few things
1) Why not just use IsDate() to check if it is a valid date.
2) Masked edit boxes suck sorry Nucleus
3) Error msgs for wrong typing from users suck BIGtime. (damn u Nucleus spreading bad rumours ) Why not let them key date in 250802 or 25-08-02 or 25/08/02 or 25/8/2002 or whatever and work it out.
Regards
Stuart
1) See my first reply
2) Skilled use of a masked edit box allows the user to enter any data they want, the only difference is the user has a graphical guide as to what is expected of them. Consequently I think you can easily make a case for either approach, sorry Beachbum .
3) Come on BeachBum fess up, you da king of Msgboxes. Also can you post some code showing how to convert 250802 or 25082 or say 8252 to a valid date?