G
Guest
I need to create a sort key to sort a text field in alphabetic order starting
with a different letter each time the report or query is run. the user will
supply the starting letter (usually different) each time .
If the user wants to start with the letter "J" the sort order wll be:
J K L M ,,,,X Y Z A B C ,,,,H I
If the start letter is "S" the sort order will be:
S T U V W X Y Z A B C,,,,,,P Q R
I am sure the function to create the sort key will include Asc([Start
Letter]) and
Asc([Text Field]) but I cna't figure it out.
Steve S
with a different letter each time the report or query is run. the user will
supply the starting letter (usually different) each time .
If the user wants to start with the letter "J" the sort order wll be:
J K L M ,,,,X Y Z A B C ,,,,H I
If the start letter is "S" the sort order will be:
S T U V W X Y Z A B C,,,,,,P Q R
I am sure the function to create the sort key will include Asc([Start
Letter]) and
Asc([Text Field]) but I cna't figure it out.
Steve S