Jump to content
Server Maintenance This Week. ×

sort order


Diane

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

Recommended Posts

  • Newbies

I have two layouts in the same file and I would like to set a different sort order for each layout, but it does not appear to be possible. Is there a script command that allows one to set the sort order?

Any suggestions?

Link to comment
Share on other sites

quote:

Originally posted by Diane:

I have two layouts in the same file and I would like to set a different sort order for each layout, but it does not appear to be possible. Is there a script command that allows one to set the sort order?

Any suggestions?

You first set the sort order as you want it. Then there is a script command called "Sort" which will restore the currently set order.

You can repeat this process (one per script) as many times as needed. Thus setting up a bunch of sorting scripts.

------------------

=-=-=-=-=-=-=-=-=-=-=-=-=

Kurt Knippel

Senior Filemaker Developer

http://www.inthescene.com

mailto:[email protected]

=-=-=-=-=-=-=-=-=-=-=-=-=

Link to comment
Share on other sites

Diane,

When you define a script that contains a sort command, you have two options:

sort[Restore,No dialog]

Before you define the script you have to perform the sort (with the order you want).

Later if you want to change the sort order of that script, perform the new sort manually and then replace the sort order in the script.

ZZ laugh.gif

[This message has been edited by ZuperZZ (edited July 10, 2000).]

Link to comment
Share on other sites

This topic is 8700 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.