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

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

Recommended Posts

Posted

In a Portal I have a field "Priority"

The user enters a number manual into "Priority"

I would then like the Portal sorted numerically.

1

2

3

4

5

6

7

8

9

10

11

etc.

With records that don't have anything in the Priority field to be last on the list.

Posted

This is not the most effective solution probably but it will do the job:

1. Define a summary field "MaxPriority" which will hold the maximum of Priority.

2. Define a calculation field called SortValue with formula like

If(Priority = 0 , MaxPriority+1 , Priority)

Make sure the result is Number

3. In the Define Relationship window - specify to sort related record by the SortValue field ascending.

It will work because if Priority is 0, then SortValue will become 1 more then the highest priority field. So, it will appear in last. Elsewise, it stays where it is supposed to.

Vote me if it helps...

Posted

Since it wasn't mentioned, I feel obligated to point out the often-overlooked Sort by Custom Order Based on Value List. Just define a value list with all the numbers in it, and sort on that. Perfect! cool.gif

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