M
maura
I have a new database that has tblRentalAgreement, tblCorpBusiness and
tblMajesticExpressRenters. All have primary keys that are autonumbers.
TblCorpBusiness and tblMajesticExpressCustomer have one-to-many relationships
with the tblRentalAgreement.
When I am setting up my frmRentalAgreement that is based on
qryRentalAgreement (which incorporated all three tables)... I can't add a new
record because of the one to many relationship I have established with
tblCorpBusiness and the tblMajesticExpressCustomer (both have PK and
tblRentalAgreement has the FK)... I get the error:
The Microsoft jet databse engine cannot find a record in the table
'tblMajesticExpressCustomer', with matching fields in
'tblRentalAgreeement.MajesticExpressId'.
I set up the tblCorpBusiness for repeat businesses that utilized our
services, and tblMajesticExpressRenters for repeat individuals that rent cars
from us. HOWEVER, if the renter is not associated with a Business that field
will need to be left blank, and visa versa.
Please let me know if I am not utilizing the relationships right... Thanks,
m.
tblMajesticExpressRenters. All have primary keys that are autonumbers.
TblCorpBusiness and tblMajesticExpressCustomer have one-to-many relationships
with the tblRentalAgreement.
When I am setting up my frmRentalAgreement that is based on
qryRentalAgreement (which incorporated all three tables)... I can't add a new
record because of the one to many relationship I have established with
tblCorpBusiness and the tblMajesticExpressCustomer (both have PK and
tblRentalAgreement has the FK)... I get the error:
The Microsoft jet databse engine cannot find a record in the table
'tblMajesticExpressCustomer', with matching fields in
'tblRentalAgreeement.MajesticExpressId'.
I set up the tblCorpBusiness for repeat businesses that utilized our
services, and tblMajesticExpressRenters for repeat individuals that rent cars
from us. HOWEVER, if the renter is not associated with a Business that field
will need to be left blank, and visa versa.
Please let me know if I am not utilizing the relationships right... Thanks,
m.