We use an account number that consists of 3 different elements.
1)A four leter code that indicates the type of account (these are finite and so are listed in their own table)
2)A 3 digit number (has leading zero's)
3)A text code that is used as a booking code (this is a code generated from the clients trading name and so is generated from contact details).
I would like too know if anyone can tell me a way of generating the 3 digit number. I need to be able to use leading zero's so I don't think I can use autonumber but this generation dose need to be automatic with no duplicates.
I then need a way of bringing all three of these elements together and storing the result in the client account table.
Can anyone help? I did see an article somewher on autonumber without autonumber but I can't find it now.
Thanks
1)A four leter code that indicates the type of account (these are finite and so are listed in their own table)
2)A 3 digit number (has leading zero's)
3)A text code that is used as a booking code (this is a code generated from the clients trading name and so is generated from contact details).
I would like too know if anyone can tell me a way of generating the 3 digit number. I need to be able to use leading zero's so I don't think I can use autonumber but this generation dose need to be automatic with no duplicates.
I then need a way of bringing all three of these elements together and storing the result in the client account table.
Can anyone help? I did see an article somewher on autonumber without autonumber but I can't find it now.
Thanks