Quantcast
Viewing all articles
Browse latest Browse all 9063

Re: How can i change the sort order in Record Sort Fields

Here's the challenge - grouping will ALWAYS happen before sorts.  So, you actually need to do two groups on Name, but you'll use a formula for them (assuming you're prompting for sort order}:

 

{@Ascending Name}

 

If {?SortOrder} = 'Ascending' then {MyTable.Name} else ' '

 

{@Descending Name}

 

If {?SortOrder} = 'Descending' then {MyTable.Name} else ' '

 

This will give you the name in the group that controls the sort and a blank space in the other group.  So, it doesn't really make any difference which one comes first on your groups.

 

-Dell


Viewing all articles
Browse latest Browse all 9063

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>