Allen Brown's Flexible search-How do get rid of duplicates?

J

joann007

Hello all! I've created a flexible search like the one described by
Allen Browne at http://allenbrowne.com/ser-62.html. It works great,
except that it shows duplicates records as results. I know why this
happens: I have a one-to-many relationship between my Master table
and
by DocAnalysts and DocTaxes tables. Since each record can have more
than one analyst or tax type, it's showing up multiple times as a
result of the search. Is there any way I can fix this?

The form itself is based on a query that links all three tables by
DocID. I've played around with the unique values/unique records
property with no luck. Allen, if you are out there, help me please!


Thanks guys!
 
G

Guest

Im not familiar with Alans solution but can you amend the query to look as
follows:
SELECT DISTINCT etc.

This will result in unique rows only
 

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