Jump to content
Server Maintenance This Week. ×

This topic is 6271 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Isnt that exactly what you were looking for? Were you not trying to sort the records in list view via a column heading that is a button ? Please re-read Ender's post.

Link to comment
Share on other sites

FileMaker's Business Kit also has lists that sort this way.

A little bit about sorting: once you sort, FileMaker does retain the last sort order, you can see it if you go back into the Sort dialog box. However, there's no way for a script to get at that information and make use of it.

So, each time you sort, you have to make a note of whether you sorted ascending or descending. This is typically stored in a global field or global variable.

The data you store in the global can be the actual word "ascending" or it could be just "A" or "1" it does not matter. It's just a flag that you can reference in your sort script.

Also note that these older solutions, and even FileMaker's example, use separate scripts for sorting ascending and descending, and separate scripts for each type of sort. It's messy! But back in the day, you could only store ONE sort, find, and print setup per script. We no longer have that limitation.

Mmmm, sorry no time to post more right now...

Link to comment
Share on other sites

This topic is 6271 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.