chobo321321
Registered User.
- Local time
- Today, 15:38
- Joined
- Dec 19, 2004
- Messages
- 53
In theory the tables below, and their relationshio make sense to me. I know I could have done two tables, and skipped the third table, but for this project it has to be like that.
Right now I am using an autonumber dataype for tblPersons (PerID), and using an int for the other two primary keys on the other tables. But, what I realized pretty quick was if add a new record(in the datasheet view starting with tblPersons because it won't let me add new records until I have a PerID) I can only have one subdatasheet, but I need two. One for Regualr customers, and one for business customers when I add records to tblPersons. Also, the way it is setup now a regular customer can have a CustID of 1, and a Business Customer can have a BusID of 1 which is stupid and makes no sense since they are in a 1 to 1 relationship with PerID...
Sorry for the confusing questions, but this in my opinion is pretty basic, but almost impossible to find answers for. Any help is appreicated.
Right now I am using an autonumber dataype for tblPersons (PerID), and using an int for the other two primary keys on the other tables. But, what I realized pretty quick was if add a new record(in the datasheet view starting with tblPersons because it won't let me add new records until I have a PerID) I can only have one subdatasheet, but I need two. One for Regualr customers, and one for business customers when I add records to tblPersons. Also, the way it is setup now a regular customer can have a CustID of 1, and a Business Customer can have a BusID of 1 which is stupid and makes no sense since they are in a 1 to 1 relationship with PerID...
Sorry for the confusing questions, but this in my opinion is pretty basic, but almost impossible to find answers for. Any help is appreicated.
