Im having a bit of trouble with the design of my DB.
The DB is a dog training DB. Each dog has a profile with its breed, Name etc and a DogID (this is an autonumber and is the Primary key)
Each dog undergoes training each day and that is recorded on a subform. The subform holds a TrainingID (this is an autonumber and is the Primary key) and a DogID to link it to the dog of course.
Now the problem, I am building the DB for a dog trainer who takes dogs into his kennel from clients to train them. His clients will also have a copy of the DB, holdinginformation about their dogs and only their dogs. He wants to be able to email them the dogs record of training on a daily basis.
I have created an export function which exports a record to a spreadsheet. The problem comes when the client imports, the reason their is a problem is that the dogID is likely to be different. i.e. he may have 50 dogs in for training with DogIDs of 1-50, his client may only have 2 dogs. So Casper who is dog 20 on his DB may only ge DogID 2 on his clients.
So my question is, how can I import a record and link it to a dog when the Primary Keys dont match.
I cann export the record without the DogID but I still need to be able to link it! :banghead:
Hope that makes sense.
The DB is a dog training DB. Each dog has a profile with its breed, Name etc and a DogID (this is an autonumber and is the Primary key)
Each dog undergoes training each day and that is recorded on a subform. The subform holds a TrainingID (this is an autonumber and is the Primary key) and a DogID to link it to the dog of course.
Now the problem, I am building the DB for a dog trainer who takes dogs into his kennel from clients to train them. His clients will also have a copy of the DB, holdinginformation about their dogs and only their dogs. He wants to be able to email them the dogs record of training on a daily basis.
I have created an export function which exports a record to a spreadsheet. The problem comes when the client imports, the reason their is a problem is that the dogID is likely to be different. i.e. he may have 50 dogs in for training with DogIDs of 1-50, his client may only have 2 dogs. So Casper who is dog 20 on his DB may only ge DogID 2 on his clients.
So my question is, how can I import a record and link it to a dog when the Primary Keys dont match.
I cann export the record without the DogID but I still need to be able to link it! :banghead:
Hope that makes sense.