What table is affected by delete when form based on query?
Posted
by webworm
on Stack Overflow
See other posts from Stack Overflow
or by webworm
Published on 2010-04-22T17:52:21Z
Indexed on
2010/04/22
20:03 UTC
Read the original article
Hit count: 169
In MS Access 2003 I have a form whose record source is equal to a query that involves an INNER JOIN. The join is between a location table and a container table. Containers are objects that are stored in specific locations each location and container are specified by ID values.
SELECT DISTINCTROW Container.Container_ID, Location.Location_ID
FROM Location INNER JOIN Container
ON Location.[Location_ID] = Container.[Location_ID]
What I am trying to figure out is this …. When I delete a record (using the form navigation controls) in the form based on the above query which tables are affected? Are records in the Container and Location tables deleted or is it just in the location table? Thanks!
© Stack Overflow or respective owner