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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Too many records per ID 1

Status
Not open for further replies.

Ladyazh

Programmer
Sep 18, 2006
431
US
I have data that looks like this

ID ProductWanted ProductPurchased
12 aaa aaa
13 aaa ccc
13 aaa bbb

My goal is if there is more then 1 product exists per ID - I need to not to show it.
I need to show only 1 product per ID.
I can write this in SQL Server or Crystal. But I do not see how.

Thanks
 
Group on ID and place the fields in the group header. Then suppress the detail section.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top