Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HideDuplicates property in Reports 1

Status
Not open for further replies.

jlmeek

Technical User
Jan 30, 2001
13
US
I have duplicate data in a table, but when I run a report I would like to hide the duplicate data. When I click Yes to HideDuplicates in the text field property and run my report - a blank space remains where the duplicate data is hidden. How can I both hide the duplicate records and remove the blank spaces from my report? Any suggestions would be most helpful.

Thanks,
jess
 
OK, the idea behind HideDuplicates is to change this:

Monday Project1
Monday Project3
Monday Project4
Tuesday Project1
Tuesday Project2

into this:

Monday Project1
Project3
Project4
Tuesday Project1
Project2

Now it sounds like you are saying that you have duplicates in ALL fields. If so, then you need to look at the query underlying the report. From the menu, choose View and SQL...

Edit the SQL to read SELECT DISTINCT instead of SELECT.

This will eliminate duplicate rows.

Hope this helps.

Kathryn


 
OK, the idea behind HideDuplicates is to change this:

Monday Project1
Monday Project3
Monday Project4
Tuesday Project1
Tuesday Project2

into this:

Monday Project1
Project3
Project4
Tuesday Project1
Project2

It sounds like you are saying that you have duplicates in ALL fields. If so, then you need to look at the query underlying the report. From the menu, choose View and SQL...

Edit the SQL to read SELECT DISTINCT instead of SELECT.

This will eliminate duplicate rows.

Hope this helps.

Kathryn


 
Kathryn -

Thank you, Thank you, Thank you!!! Your fix worked and it was so easy.

Regards,
jess
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top