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

Sorting portal based on value list?


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

Recommended Posts

Posted (edited)

I have a portal that shows all boarding reservations for a given date. Active reservations are given a pen number, and some reservations (like No Shows and Cancellations) are not given a pen number. I'd like to show ALL of the reservations, but make the active reservations show up on the top, and sort by them by pen number.

In technical terms...

When I simply sort by [pen_number], records with blank [pen_number] fields show up on top (obviously not what I want). So, I believe the correct method is by using the "Custom order based on value list". BUT, I do not know what to enter in my value list to sort ascending, THEN blank values... Any suggestions?

A specific solution would be great, but I wouldn't mind a general "Dummies Guide to Sorting by Value Lists" response. :

Edited by Guest
Posted

I would add a calculation number field of

IsEmpty(pen_number)

and sort by this field, ascending, then by pen_number.

Posted

Thanks -Queue-, Works like a charm!

But, I'm still curious about sorting via value list... Does anybody routinely use that feature?

Posted

It's a very limited feature, bacause it looks for an exact match of data to a value. It is not an alternative alphabet.

IOW, if your value list is a, c, b, the sort will produce:

a

c

b

aa

ab

ac

As you see, where the entries are not an exact match to a value, the sort defaults to normal.

This feature is handy if you have a field that is set by a value list and you want sorting to follow some logic that is not alphabetical, e.g. month names.

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