Jump to content

Sorting issues


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

Recommended Posts

Try this for the Sort List Key calc - and make sure the popup selection field is Sort Selection, not Sort List Key.

Also, you should check the options for the Serial Number.

Let

( [

theSortField = GetField ( Sort Selection ) ;

theSortName = GetFieldName ( theSortField ) ;

fieldTypeIsNumber = PatternCount ( FieldType ( Get ( FileName ) ; theSortName ) ; "number" )

] ;

Case ( fieldTypeIsNumber ; Right ( "00000000" & theSortField ; 9 ) ; theSortField )

)

Will work till your billionth record!

Link to comment
Share on other sites

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