G
Guest
I have two tables containing identically structured records. I wish to
delete the records in one table which have the same invoice numbers as the
records in the other. I thought that this could be simply done with a delete
query, joining the invoice fields between the two tables but the delete query
will have none of it, returning an Error 3086 ("Could not delete from
specified tables.") The Help file suggests that the problem lies with
inappropriate permissions or that one or both of the tables is set read only.
This is not however the case. If one of the tables is removed from the
delete query, the other can be deleted quite normally. It is only when both
tables are displayed simultaneously that the problem occurs, whether or not
the connection is show by a join or as a criterion. The records for deletion
are clearly identified in the query properties as those from the one table
from which the deletion is to take place.
delete the records in one table which have the same invoice numbers as the
records in the other. I thought that this could be simply done with a delete
query, joining the invoice fields between the two tables but the delete query
will have none of it, returning an Error 3086 ("Could not delete from
specified tables.") The Help file suggests that the problem lies with
inappropriate permissions or that one or both of the tables is set read only.
This is not however the case. If one of the tables is removed from the
delete query, the other can be deleted quite normally. It is only when both
tables are displayed simultaneously that the problem occurs, whether or not
the connection is show by a join or as a criterion. The records for deletion
are clearly identified in the query properties as those from the one table
from which the deletion is to take place.