Detect user sort

Is there a way to detect what sort the user has performed, when s/he has clicked on the default column header, in a table view form?

Just implement the onSort event on your form.
Your method will receive a dataProviderID + a boolean indicating whether the sort is ASC or DESC and the event.

If you attach a method from the properties pane and choose to create a form method, a stub will automatically be created for you…

djlapin:
Is there a way to detect what sort the user has performed, when s/he has clicked on the default column header, in a table view form?

If you want to retrieve this once this is done, try using foundset.getCurrentSort();

Thanks guys! - Don