Jason
3 years agoNew Contributor II
Adding unique records to a Member List
Hello-
I have created a business rule that uses a buffer to bring back UD1 members that have a value against them, then they are added to a list like this:
myList.Add(api.Members.GetMember(DimTyp...
- 3 years ago
I got this working, the fix was simple.
On the sort line just add a Distinct()
The code becomes:
objMembers = (From member In myList Order By Member.Name Ascending Select Member).Distinct().ToList()