Finding duplicate memo fields?

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

Guest

Hello

How can I querry a table to find duplicate Memo field entries?

Daniel
 
You might try a query whose SQL looks something like this:

SELECT DISTINCT
[Your Table].[Your Memo Field]
FROM
[Your Table],
[Your Table] AS [Self]
WHERE
[Your Table].[Your Primary Key Field] <> [Self].[Your Primary Key Field]
AND
[Your Table].[Your Memo Field] = [Self].[Your Memo Field]

This will return the distinct values in "Your Memo Field" that occur in more
than one record in "Your Table".

This assumes your table has a single-field primary key named "Your Primary
Key Field".
 

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