johnrh Posted August 29, 2005 Share Posted August 29, 2005 I have a portal which is sorted by a calculation field set from a global field via a script button using a Case statement. This is fine for sorting ascending but I cant figure out how to sort the portal for a text field in descending order. Number fields are ok - just use 1/(field value) But How do I get a text field to populate the sort field in descending order for a text field. Thanks Link to comment Share on other sites More sharing options...
IdealData Posted August 29, 2005 Share Posted August 29, 2005 You can't populate a field in descending order (nice trick with the numbers though). How about a numeric to represent the first character of the text and use the numeric as your sort key, and apply the 1/n trick. If you can think in BASE-26 then you could get quite an accurate alpha-numeric conversion by extending into the following characters. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6670 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 accountSign in
Already have an account? Sign in here.
Sign In Now