I'm trying to retrieve a unique list of dates from an event registration table so I can populate it in a dropdown to use for a csv export. The goal is that I can go to a form, select the event date, and it will give me a CSV export of all of the records of people registered for that event.
What I did (so far) is created a DB Record Loader before the Show HTML that will query the table and return the dates. Then I use the dynamic data for the dropdown to populate it with the dates. It works great - except they're not in a specific order and they duplicate. So if I have 10 people register, 10 options for that date appear in the dropdown.
Is there a way (without custom code) to add basically a group by and an order by? Maybe it's an option I'm just missing? Any help is appreciated.
What I did (so far) is created a DB Record Loader before the Show HTML that will query the table and return the dates. Then I use the dynamic data for the dropdown to populate it with the dates. It works great - except they're not in a specific order and they duplicate. So if I have 10 people register, 10 options for that date appear in the dropdown.
Is there a way (without custom code) to add basically a group by and an order by? Maybe it's an option I'm just missing? Any help is appreciated.