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

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

Recommended Posts

Posted

Hi gang!

I need a button that allows me to click the first time, and sort my records based on certain criteria in ascending order. The next time the button is pressed, we need the data sorted in descending order. Then next time, ascending, etc etc.

Anyone had any success in creating a script that can do that?

We have 10 and 11 in our org.

:bang::bang::bang:

Thank you!

Tee

Posted

Sorting in pre-11 is frustrating. You have a couple options, depending on how many fields you'd like to sort by and if you want multiple layers of sorting.

If it doesn't need to be robust (just sorting on one or two fields, not nested), you can script it, storing the current sort order in a $$var and hard code the sort options.

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