Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

You can add multiple Sorts to a CDML link like so:

...&-SortField=<Fieldname>&-SortOrder=<SortOrder>&-SortField=<Fieldname2>&-SortOrder=<2ndSortOrder>...

-SortOrder accepts:

Ascend

Descend

Custom=ValueList (where ValueList is the name of the valuelist associated with the -SortField on the layout).

Haven't used the Custom option myself, but have read many reports of problems with it.

The -SortOrder tag is actually optional, but recommended if using multiple -SortField tags. Each -SortOrder must directly follow the -SortField it applies to.

Posted

Have you got a copy of the CDML Reference? It's a FMP database with all the CDML codes with their syntax described and example usage. Download it from the FileMaker Inc web site (in the downlads section I think).

It'll answer all your "can you do XXX in CDML" questions.

Posted

Quite right, Vaughan.

Y'know, considering the number of times any given question is asked (and answered) on FMForums, perhaps there should be a big banner at the top of each category: Search the Forum First!

Then again, we'd all probably find ourselves wondering why there aren't any new posts... wink.gif

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