I am having an issue with the connection agent and sorting the data reurned. I have previously used a SQL View and the sorting I specified in the view carried over onto the form table correctly. I now have a view that I grouped. While the sorting works correctly in SQL, PerfectForms does not follow the sorting criteria.
I have tried taking the grouping off the view, and in this case the sorting is correct in PerfectForms. If I use the "Distinct Values Only" option in the action definition the sorting is again incorrect. Essentially if I group the data in either SQL or PerfectForms then the sorting is incorrect.
From a speed standpoint I need to create the list using a single view instead of a multi-step process. Is there way to enforce a sort order using the connection agent actions?
