Order Continuous records in Report A to Z

TxStrob

Registered User.
Local time
Today, 10:44
Joined
Sep 23, 2019
Messages
44
I have an continuous records in a report, and when I click print view in orders my list of inventory and random order. How do I order the list by A to Z?
 
Use report Sorting & Grouping features.
 
Thank you June7, and other problem why is blank rows showing as first? I want rows with information show to show first.
 
Thank you June7, and other problem why is blank rows showing as first? I want rows with information show to show first.

Once again, use sorting and grouping.
However if you have some completely empty records with no data in any fields, you should modify the report record source to exclude them
 
Null and empty string sort to top with ascending order. If you want those records at end then need a substitute value, such as Nz([fieldname], "ZZZZZZZZZ") or Nz([fieldname], 99999999). Use that calculated field for sort criteria. It does not have to be displayed on report.
 
Awesome you are the best June7, thank you so much. I got everything to the top but now not it's not sorted by A-Z. Since it's sorting by ID number now. Any work around, I tried adding a second expression but nothing.
 
modify your sort Expression and concatenate another field:

Nz([sortFieldName], "ZZZZZZ") & Nz([blankFieldName], "ZZZZZZ")
 
Post report RecordSource query. What field do you want to sort on? Did you use ORDER BY in query or did you use Report Sorting? Report Sorting & Grouping overrides query ORDER BY.
 
June I used the report sort and group. Let me see if I can order by query now.
 
Don't rely on query sort in a report. Use report sorting.

If you want to provide db for analysis, follow instructions at bottom of my post.
 
I am living with the way it sorts :) thank you everyone for helping me resolve this problem
 

Users who are viewing this thread

Back
Top Bottom