Hi,
2 issues I need to find out about:
1)
I have a database which will need to store members details that all have a unique MembershipNo, the Primary Key. There are over 4,000 members already existing with their own MembershipNo, I have to insert these into the member table (from a spreadsheet). I want the database to increment new membership numbers by 1 each time although I also need existing members to be entered in with their correct MembershipNo. Is there any code that can do this without having to use the AutoNumber data type which will mess up the existing membership numbers?
2)
I also have another table called Member_Application which needs to increment by 1 each time a new application is entered. The problem is I have an append query that appends the Member Application fields to the Member fields when an application is successful. To do this the Member table needs the MembershipNo field to be an AutoNumber, as the data is inserted into the fields and a MembershipNo must be generated automatically for this not to cause integrity issues. Basically if it appends to just a number field there is no MembershipNo created and the database sees this as being NULL and throws up an error. The ApplicationNo and MembershipNo are not the same.
If anyone can shed any light as to how to overcome this problem I'd be grateful.
Many Thanks, Viv
2 issues I need to find out about:
1)
I have a database which will need to store members details that all have a unique MembershipNo, the Primary Key. There are over 4,000 members already existing with their own MembershipNo, I have to insert these into the member table (from a spreadsheet). I want the database to increment new membership numbers by 1 each time although I also need existing members to be entered in with their correct MembershipNo. Is there any code that can do this without having to use the AutoNumber data type which will mess up the existing membership numbers?
2)
I also have another table called Member_Application which needs to increment by 1 each time a new application is entered. The problem is I have an append query that appends the Member Application fields to the Member fields when an application is successful. To do this the Member table needs the MembershipNo field to be an AutoNumber, as the data is inserted into the fields and a MembershipNo must be generated automatically for this not to cause integrity issues. Basically if it appends to just a number field there is no MembershipNo created and the database sees this as being NULL and throws up an error. The ApplicationNo and MembershipNo are not the same.
If anyone can shed any light as to how to overcome this problem I'd be grateful.
Many Thanks, Viv