john doe the 3rd
New Member
- Joined
- Mar 13, 2004
- Messages
- 47
hey all,
having some trouble with the following, any help would be fantastic.
i basically have a table that contains some information about library members. i have a primary key , which needs to remain primary because i will link the table later on.What i would like to know is :
is it possible to somehow auto-generate a member code # by taking the first letter of theirfirstname, and the first letter of their surname and then add an autonumber to that aswell. e.g
there are 10 members on record, autonumber assigns them a number , ie member 1, 2, 3 and so on. member 1 is called JOHN DOE so if we modify the autonumber the new code would be JD1 ,
any other suggestions as to how to create sumthing like this?
thanks in advance.
having some trouble with the following, any help would be fantastic.
i basically have a table that contains some information about library members. i have a primary key , which needs to remain primary because i will link the table later on.What i would like to know is :
is it possible to somehow auto-generate a member code # by taking the first letter of theirfirstname, and the first letter of their surname and then add an autonumber to that aswell. e.g
there are 10 members on record, autonumber assigns them a number , ie member 1, 2, 3 and so on. member 1 is called JOHN DOE so if we modify the autonumber the new code would be JD1 ,
Code:
member code = < first letter of first name > + < first letter of surname > + < autonumber >
any other suggestions as to how to create sumthing like this?
thanks in advance.