G
Guest
Hi All,
I've seen a similar post regarding this, with no suggestions other than a
third party tool.
What I am using is an OleDbConnection / Transaction, because it has to be
SQL Server and MS Access compatible. The code inserts a record in the parent
table, then loops through a bunch of child tables, inserting the related
records. In SQL Server, it throws an exception, stating it violates the
foreign key, in Access it all works fine.
Do the transactions not support this? It seems odd to me that the
transaction would not know about it's own insertions...
Any help would be great!
I've seen a similar post regarding this, with no suggestions other than a
third party tool.
What I am using is an OleDbConnection / Transaction, because it has to be
SQL Server and MS Access compatible. The code inserts a record in the parent
table, then loops through a bunch of child tables, inserting the related
records. In SQL Server, it throws an exception, stating it violates the
foreign key, in Access it all works fine.
Do the transactions not support this? It seems odd to me that the
transaction would not know about it's own insertions...
Any help would be great!