Problem with Delete query

J

Jim Devenish

I have two tables InputData and CommonData each with three fields F1
(Long integer), F2 (Date/Time), F3 (Text) i.e. the tables have
identical design. I am trying to delete all rows from InputData which
have their F1 value in CommonData as well. This means I wish to leave
in InputData only those rows which are not also in CommonData

When I try to use the Sql:
Delete InputData.* From InputData
Inner Join CommonData On InputData.F1 = CommonData.F1

I get the error message:
'Could not delete from specified tables'

Both tables are local and are not in use by any other form or query.

Can I delete these commmon rows? and if so, how?
 

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