N
Nick Mirro
I have three tables.
primary key type
tblVisits visitID autonumber
tblBillingInfo visitID foreign key
tblPayments visitID foreign key
tblPayments and tblBillingInfo are 1:1 with tblVisits. When a new visit
record for tblVisits is created, I then open a form which uses
tblBillingInfo, and after adding data, a new record is automatically
generated in tblBillingInfo.
Both tblBillingInfo and tblPayments have referential integrity and cascade
update and delete. They are both joined to include all records from
tblVisits and only those within that match.
I cannot get a new record to be created in tblPayments when I open a form
that uses it. I get an error that says there must be a matching record in
tblVisits. When I look at the tables, there is one in tblVisits, a new one
in tblBillingInfo and none in tblPayments.
Nick
primary key type
tblVisits visitID autonumber
tblBillingInfo visitID foreign key
tblPayments visitID foreign key
tblPayments and tblBillingInfo are 1:1 with tblVisits. When a new visit
record for tblVisits is created, I then open a form which uses
tblBillingInfo, and after adding data, a new record is automatically
generated in tblBillingInfo.
Both tblBillingInfo and tblPayments have referential integrity and cascade
update and delete. They are both joined to include all records from
tblVisits and only those within that match.
I cannot get a new record to be created in tblPayments when I open a form
that uses it. I get an error that says there must be a matching record in
tblVisits. When I look at the tables, there is one in tblVisits, a new one
in tblBillingInfo and none in tblPayments.
Nick