I am building a number of custom SQL reports within SAM 5.0, and have been able to pull a lot of useful data. My main issue is when the report is generated in the web page, each column is given a hyperlink for sorting, but I don't know how to send info back into the SQL query so that the sort works correctly. Basically, we have the ability to click on the columns, but no changes happen when you do that.
I see in the Field Formatting tab of the Custom SQL builder, you can specify a Web URL, but I am not sure how to pass the SORT function back through there, or if that is where I should be doing that at all.
If anyone has been able to get sorting working in their reports, please let me know how you did it.
Thanks!