Girl
Oct 1st, 2000, 05:52 AM
Hi
I'm using Maskeditbox control for user input, I set the mask property = "##-##-####" and format property = "dd-mmm-yyyy", when a user keys in
16-02-2000, the input data would soon be changed to 16-Feb-2000 as the control lost focus, conversely, if the user mistakenly keys in
32-08-2000, the input data won't be changed to
32-Aug-2000 as long as it's invalid. It's good for me to validate the user's input, but if the user keys in 08-31-2000, the input data would also be changed to 31-Aug-2000, meaning that 31-08-2000 and 08-31-2000 are both acceptable as being validated with IsDate() function. I just want 31-08-2000 to be the VALID INPUT DATE while validating with IsDate() function, how can I solve this problem ? (I'd already set the regional setting to English(United Kingdom).
Thanx.
I'm using Maskeditbox control for user input, I set the mask property = "##-##-####" and format property = "dd-mmm-yyyy", when a user keys in
16-02-2000, the input data would soon be changed to 16-Feb-2000 as the control lost focus, conversely, if the user mistakenly keys in
32-08-2000, the input data won't be changed to
32-Aug-2000 as long as it's invalid. It's good for me to validate the user's input, but if the user keys in 08-31-2000, the input data would also be changed to 31-Aug-2000, meaning that 31-08-2000 and 08-31-2000 are both acceptable as being validated with IsDate() function. I just want 31-08-2000 to be the VALID INPUT DATE while validating with IsDate() function, how can I solve this problem ? (I'd already set the regional setting to English(United Kingdom).
Thanx.