K
knowshowrosegrows
I have a database that tracks data about inspections of apartment units. I
have a table called tblUnit_Detail with a autonumber PK = Unit_ID. I have a
related table called tblBedroom_Detail. I want the PK in this table to be
made up of the appropriate Unit_ID and which bedroom we are looking at.
So if Unit_ID 22 has 4 bedrooms, I want to put in 4 records with primary
keys of Bedroom_ID = 22-1, 22-2, 22-3, 22-4.
How would I link the tables and how do I put a counter in the PK?
have a table called tblUnit_Detail with a autonumber PK = Unit_ID. I have a
related table called tblBedroom_Detail. I want the PK in this table to be
made up of the appropriate Unit_ID and which bedroom we are looking at.
So if Unit_ID 22 has 4 bedrooms, I want to put in 4 records with primary
keys of Bedroom_ID = 22-1, 22-2, 22-3, 22-4.
How would I link the tables and how do I put a counter in the PK?