I'm trying to display data on an Infopath form using grouping. The data is coming from a SQL view. Here's what I'm trying to show:
A - Attorney
Joe Smith
B - Partner
John Smith
John Doe
C - Associate
Jack Smith
Jack Doe
So I'm grouping by code, i.e, A-, B-, C-, etc. However, this is what I get:
A - Attorney
Joe Smith
B - Partner
John Smith
B - Partner
John Doe
C - Associate
Jack Smith
C - Associate
Jack Doe
I tried playing around with conditional formatting and rules but couldn't come up with anything. If it's possible, how do I remove the extra code that is displaying on the form?