I have discovered a strange thing with my database today.
I have input mask "09/09/0099" in text boxes linked to date fields. This works fine. (btw, I'm in the UK since we're talking about dates).
I have come across a problem with regional settings. If the regional settings do not match the above format, e.g. if they are set as dd/mm/yy instead of dd/mm/yyyy, then a very annoying thing happens. When you tab into the control, the input mask does not display, and then when you try and enter a perfectly valid date, it says not valid for this input mask. If you click on the control, the input mask displays (e.g. "__/__/____" and everything is fine and the date is accepted.
Any ideas how to get round this. I don't want to resort to telling every user that they have to have the same regional settings. Any help would be V gratefully received
I have input mask "09/09/0099" in text boxes linked to date fields. This works fine. (btw, I'm in the UK since we're talking about dates).
I have come across a problem with regional settings. If the regional settings do not match the above format, e.g. if they are set as dd/mm/yy instead of dd/mm/yyyy, then a very annoying thing happens. When you tab into the control, the input mask does not display, and then when you try and enter a perfectly valid date, it says not valid for this input mask. If you click on the control, the input mask displays (e.g. "__/__/____" and everything is fine and the date is accepted.
Any ideas how to get round this. I don't want to resort to telling every user that they have to have the same regional settings. Any help would be V gratefully received