Ravensleach
Programmer
Hi
I have a client who insists on the ID being a unique combination of letters and an incrementing number (I know this is a bad idea …)
The string is: The person’s first initial, followed by the first two letters of their surname, followed by an autonumber which restarts for each combination of letters.
So John Brown is JBR1
Jack Brittain is JBR2
Mary Smith is MSM1
Mark Smeaton is MSM2
Mike Smythe is MSM3
Etc.
I’ve some code which works in Access 97; it’s included in the form. It won’t import into Access 2000. I can post it here if that’s useful.
Can anyone help? Thanks.
I have a client who insists on the ID being a unique combination of letters and an incrementing number (I know this is a bad idea …)
The string is: The person’s first initial, followed by the first two letters of their surname, followed by an autonumber which restarts for each combination of letters.
So John Brown is JBR1
Jack Brittain is JBR2
Mary Smith is MSM1
Mark Smeaton is MSM2
Mike Smythe is MSM3
Etc.
I’ve some code which works in Access 97; it’s included in the form. It won’t import into Access 2000. I can post it here if that’s useful.
Can anyone help? Thanks.