Multiple records

J

jonmarcr

From two tables I run a query which gives me, for example:
RecNo Name Add1 Type
1 Joe A Plumber
1 Joe A Plumber
2 Fred B Electrician
3 Jim C Plasterer
3 Jim C Plasterer

The RecNo is common to both tables
The Name and Add1 come from Table1
The Type comes from Table2

I need to remove the repeated lines
Thanks!
 
D

Douglas J. Steele

Change the SQL from SELECT RecNo, ... to SELECT DISTINCT RecNo, ...

To do this through the GUI without having to deal directly with the SQL,
check the Properties of the query when it's open in Design mode. The 3rd
property should be "Unique Values": set it to Yes.
 

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