Singular

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

Is this possible in Access 97?

DELETE *
FROM Offers AS A
WHERE Not Singular (Select 1 From [Offers] As B Where ((B.[Part#] =
A.[Part#]) AND
(B.[Date] =
A.[Date]) AND
(B.[Prefix] =
A.[Prefix]) AND
(B.[TargetPrice] =
A.[TargetPrice]) AND
(B.[Company] =
A.[Company])));

I am using this to delete duplicate records.

Thank you,

Tracy
 
I run it and get the following error:

"At most one record can be returned by this subquery."
 

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

Back
Top