Hello all,
In our community health center we are building a database that collects prenatal care data and delivery data. To collect the prenatal care data we have two tables one for women who received prenatal care in our clinic (TblPrenatal) and another one for women who came to us after delivery and had not been our clients before (TblPostPartum). The reason for having two tables for prenatal care information is because the information is somewhat different between the two groups of women. These tables have a PK which is an autonumber, there is no other fields besides PK that can uniquely identify records because of confidentiality reasons.
We also have a delivery information table for both groups of women, in this table I have a field (PrenPPID) that is suppose to store the PK from either TblPrenatal or TblPostPartum according to the corresponding delivery. What I am trying to do is to store in one field the PK field from TblPrenatal and TblPostPartum, the problem is that I can't set up a parent/child relationship to either table because if I retrieve the PK from TblPrenatal, Access tells me that the record can't be created because there is not a parent record in TblPostPartum and vice versa. We will appreciate any help on resolving this problem, and sorry for the lengthy explanation.
In our community health center we are building a database that collects prenatal care data and delivery data. To collect the prenatal care data we have two tables one for women who received prenatal care in our clinic (TblPrenatal) and another one for women who came to us after delivery and had not been our clients before (TblPostPartum). The reason for having two tables for prenatal care information is because the information is somewhat different between the two groups of women. These tables have a PK which is an autonumber, there is no other fields besides PK that can uniquely identify records because of confidentiality reasons.
We also have a delivery information table for both groups of women, in this table I have a field (PrenPPID) that is suppose to store the PK from either TblPrenatal or TblPostPartum according to the corresponding delivery. What I am trying to do is to store in one field the PK field from TblPrenatal and TblPostPartum, the problem is that I can't set up a parent/child relationship to either table because if I retrieve the PK from TblPrenatal, Access tells me that the record can't be created because there is not a parent record in TblPostPartum and vice versa. We will appreciate any help on resolving this problem, and sorry for the lengthy explanation.