This is a common question and there are answers posted in lots of places. I've read them, but unfortunately have never applied the solution, which is to define the fields (make them static). Thus I can't describe the fix for you. A crosstab query isn't appropriate for your report because customers as fields is too dynamic - both in terms of count of customers with orders at any given time but also the size of the customer list itself. The reason it fails is because you're transposing row (records) data into columns (fields) but the number of fields is not static, thus sometimes there are too many fields for the report you designed. IMHO you are defeating the purpose of a report, which is to group and aggregate data but usually vertically. If a normal report has no data for Customer One they just don't show up. Why can't you just design a report based on a normal query?
Last edited by Micron; 12-17-2019 at 01:07 PM.
Reason: removed erroneous statement(s)
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.