D
Dale
Hello,
I have a small DB with four tables.
The parent table (table1) has the foreign keys defined
for the other tables (table2,3,4).
When I try to update these tables froma web page (using
an INSERT statement), I get the error of:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] You cannot add
or change a record because a related record is required
in table 'table3'.
/calendar/coe_update.asp, line 455
My INSERT statements are setup so that the "child" tables
(table2,3,4) are updated before the "parent" (table1) is.
If I turn off Referenctial Integrity enforcement, I can
write to the DB all day but the PK numbers don't follow
to the "parent" table.
Any ideas?
Thanks in advance,
Dale
I have a small DB with four tables.
The parent table (table1) has the foreign keys defined
for the other tables (table2,3,4).
When I try to update these tables froma web page (using
an INSERT statement), I get the error of:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] You cannot add
or change a record because a related record is required
in table 'table3'.
/calendar/coe_update.asp, line 455
My INSERT statements are setup so that the "child" tables
(table2,3,4) are updated before the "parent" (table1) is.
If I turn off Referenctial Integrity enforcement, I can
write to the DB all day but the PK numbers don't follow
to the "parent" table.
Any ideas?
Thanks in advance,
Dale