Hi,
I have a field named CustomerNRIC and have an input mask of L0000000L. I need a code ( at OnEnter I assume ) so that when I enter the IC, the first letter must be either "S" or "T" and the last letter must be either from "A" - "J" or the letter "Z". If the user fails to do so, I will need a message box that says "Invalid ID".
Thanks.
I have a field named CustomerNRIC and have an input mask of L0000000L. I need a code ( at OnEnter I assume ) so that when I enter the IC, the first letter must be either "S" or "T" and the last letter must be either from "A" - "J" or the letter "Z". If the user fails to do so, I will need a message box that says "Invalid ID".
Thanks.
Comment