AnsweredAssumed Answered

Sort Selection problem

Question asked by DanielOrth on Nov 5, 2014
Latest reply on Nov 7, 2014 by philmodjunk


Sort Selection problem


Hi i have a form that shows a list of contacts.  I also have a sort selection button that triggers a sort selection script.  The 2 choices for sort selection are "Contact Name" and "Business Name".  

My problem is that when i sort by Contact name all is fine and contact names are grouped alphabetically together and the appropriate letter is displayed in my subsummary header.  

However when I sort by business name they get sorted fine but are not grouped alphabetically ie all businesses with names starting with A should be grouped together in the same subsummary headers with the corresponding letter.  Instead my sortlistkey subsummary headers shows the full name of the business and therefore no business are grouped as no 2 have the same full name.

What can i do?  thanks.