Jun 13, 2002 #1 ecugrad MIS Apr 17, 2001 191 US How do I sort on the 6th digit of a 10 digit account number. Ex: 9012256545 I would like to sort ascending on the fifth digit.. Thanks
How do I sort on the 6th digit of a 10 digit account number. Ex: 9012256545 I would like to sort ascending on the fifth digit.. Thanks
Jun 13, 2002 #2 rhinok Technical User Mar 21, 2001 749 US Create a formula that strips out the 5th digit. Once this is done, you can sort the report based on the formula field. Upvote 0 Downvote
Create a formula that strips out the 5th digit. Once this is done, you can sort the report based on the formula field.
Jun 13, 2002 1 #3 synapsevampire Programmer Mar 23, 2002 20,180 US Formula would be: mid((MyTable.MyField}),5,1) gets you the 5th digit. If it's a numeric: mid(totext({SOLCONTACT.SESSION_ID},0),5,1) gets you the 5th digit. -k http://www.informeddatadecisions.comkai@informeddatadecisions.com Upvote 0 Downvote
Formula would be: mid((MyTable.MyField}),5,1) gets you the 5th digit. If it's a numeric: mid(totext({SOLCONTACT.SESSION_ID},0),5,1) gets you the 5th digit. -k http://www.informeddatadecisions.comkai@informeddatadecisions.com