I am not advanced in SQL/Visual Basic. I am only using the actual using the
capabilities within Access itself.
Well, SQL is part of Access. It is a major part of Access.
Suggest you post the SQL of the query that is not working for you.
-- Open in design view
-- Switch to SQL view (Menu View: SQL)
-- Copy the text and paste it into your post.
Tell us WHICH table you want to delete records from. Then someone should be
able to modify your query. I would guess that you have references to more
than one table in the query grid.
With your present query, you can try
-- Removing all fields that you are not setting criteria against (where)
-- Set FROM on one field from the table you want to delete records from
-- Set the query property Unique Records to YES
>I am not advanced in SQL/Visual Basic. I am only using the actual using
>the
[quoted text clipped - 20 lines]
>>
>> DELETE FROM tblA WHERE tblA.a IS IN (SELECT a FROM tblB);
RichL - 06 Jul 2006 18:37 GMT
Thanks! Setting the "Unique Records" did it.
> Well, SQL is part of Access. It is a major part of Access.
>
[quoted text clipped - 36 lines]
> >>
> >> DELETE FROM tblA WHERE tblA.a IS IN (SELECT a FROM tblB);