Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sort by Expression

Hi,

I have a list-box with some text values from the database. I am using an expression = Capitalize (Field) to get the correct format.

Now, when I go to Sort->Expression and Paste the same expression as above and put it to Ascending, I am not getting the Field sorted based on Alphabetical order. How can that be achieved?

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Try correcting your correct format in the script

LOAD     

     Capitalize(FIELD) as FIELD,

....

then use alphabetical sort order in your list box.

View solution in original post

4 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     What is the order which it is showing, will you please share the example of what is expected and what it is showing.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

Properties . sort > check "A-Z"   & uncheck expression

otherwise check load order "Original"

swuehl
MVP
MVP

Try correcting your correct format in the script

LOAD     

     Capitalize(FIELD) as FIELD,

....

then use alphabetical sort order in your list box.

Not applicable
Author

Thank you swuehl..that worked well...