Delete Query Error

G

Guest

HELP! I am getting a "Could not delete from specified tables. (Error 3086)"
error when trying to run a Delete query. The delete query joins a table with
a select query - one of the joined fields from the query is a calculated
field. The Delete query is trying to delete from the table, not the query.
Any ideas what is causing the error?
 
G

Guest

Thanks for the response - I have changed the UniqueRecords Property of the
query to YES and I am still getting the same error. The SQL of the query is

DELETE DISTINCTROW [Tbl WS].*, [qry WS OS].[Full VIN], [qry WS OS].Primary
FROM [Tbl WS] LEFT JOIN [qry WS OS] ON ([Tbl WS].Dealer = [qry WS
OS].Primary) AND ([Tbl WS].VIN = [qry WS OS].[Full VIN])
WHERE ((([qry WS OS].[Full VIN]) Is Null) AND (([qry WS OS].Primary) Is
Null));

[qry WS OS].[Full VIN] is a calculated field combining two text fields.

If anyone has any thoughts, I would appreciate it!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top