Normand Posted November 13, 2006 Posted November 13, 2006 I would like to display on a layout the order in which the table is presently sorted. If the sort selection is changed, this field would reflect the new sort order. How can this be done ? I tried with a global field and the Get(sortstate) function but this only tells me if the table is sorted or not (0,1)- doesn't give me the field name. I'm also looking for a method where a user could select the sort fields from a dropdown list (where I would put only a few fields-not all of them), and have the sort run after having done the selection. Thanks for your help
aaa Posted November 13, 2006 Posted November 13, 2006 Hi, Normand. If you sort your foundset by script, you can do it having one global field, where you will put sort order.
Normand Posted November 13, 2006 Author Posted November 13, 2006 But how do you get the present sort order. I could not find any Get function which seemed to return this information ?
aldipalo Posted November 13, 2006 Posted November 13, 2006 Take a look at this video from Matt Petrowsky. It answers your questions. http://www.filemakermagazine.com/index.php?catid=1 Scroll down to "Ultimate Portal Sorting."
Recommended Posts
This topic is 6586 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now