Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Wednesday, February 19, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Data & Imports Forums - T-SQL & Queries
Forum to discuss general T-SQL questions and help with queries related to SalesLogix data. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to T-SQL & Queries | New ThreadView:  Search:  
 Author  Thread: Help checking duplicate records within a group
Samuel
Posts: 18
 
Help checking duplicate records within a groupYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Aug 07 5:51 AM
Hello there,

I'm creating a group to view all the contacts that have been associated with an opportunity within the last 2 years. In my list some contact names appear several times, as some contacts have been associated with several opportunities. How can I get each contact name to appear only once?
Thank you for your help,

Samuel
[Reply][Quote]
Rick Smith
Posts: 96
 
Re: Help checking duplicate records within a groupYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Aug 07 8:55 PM
Samuel,
The Group you're building is a one-to-many join, meaning that for a given Contact, there can be one or more Opportunities. Within the Query Builder, there is a check box on the Defaults tab that can be checked to "Return Distinct Rows Only". Recognize that this will depend on the columns you have selected in the Layout tab. If you select only columns from the Contact table, such as Fullname, Email, etc., then a Contact that is associated with multiple Opportunities will still only be displayed once. If you add a column from the Opportunity table, such as Description, then you will see multiple instances of the Contact if they've been associated with more than one Opportunity.
I hope that helps clarify things for you.
[Reply][Quote]
Samuel
Posts: 18
 
Re: Help checking duplicate records within a groupYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Aug 07 3:19 AM
Yes that helps,
Thanks very much,
Kind regards,

Samuel
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 2/19/2025 4:41:00 PM