Can one use rferential integrity to add a record to two tables? I have tested with delete and it works fine but cannot get to add a recod to both tables ?
Hi David,
No sir. You can get it to update an existing record but not add. If you work off a form, in the after update event of the "connecting" field, after first saving the record, have it run a query that appends the same value to your other table. Something like:
On Error GoTo err1
DoCmd.SetWarnings False
DoCmd.OpenQuery "NameOfYourQuery"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.