Hi there! This is a question I have thought about for several years. I have searched on internet but haven’t found anything related. I don’t know if it is possible, but if it can be done, it will be a great time saver.
What I want to achieve is, in a form of employee, after the BirthNumber is entered and the focus is losing, then the BirthDate and Gender data will be automatically generated.
For example, when I input the BirthNumber 0510311001, the BirthDate 31.10.2005 will be automatically generated.
From the above BirthNumber, the first two digits (05) are the last two numbers of the year (if the number beginning with the 7th number is a four digit number then the year is after 1954. If this number is three digit then the year is before 1954). The third and the fourth number (10) form the month (if it is smaller than 50 the gender is male, if it is bigger than 50 then the gender is female). The fifth and the sixth number (31) are the day.
Czech Republic and Slovakia uses a system called Birth Number (Czech/Slovak: rodné číslo (RČ)). The system was introduced in the former Czechoslovakia.
The form is YYXXDD/SSSC, where XX=MM (month of birth) for male (numbers 01–12) and XX=MM+50 for female (numbers 51–62), SSS is a serial number separating persons born on the same date and C is a check digit, but for people born before 1 January 1954 the form is without the check digit - YYXXDD/SSS. This enables the system to work until the year 2054. The whole number must be divisible by 11.
Have you seen something similar?
Any help will be highly appreciated.
BirthNumber-To-BirthDate.odb (14.5 KB)