I have never used the report wizard in Base but now I am writing up a document on how to use Base and I've had to take the plunge. The attached file shows a little experiment. I made a table called Costs with columns for name, date and amount. I then wrote a query named CostOrdByNameDate that simply orders the whole table by name and date.
Code: Select all
SELECT "Name", "CostDate", "CostAmount" FROM "Costs" ORDER BY "Name", "CostDate"
If I make a report with the report wizard based on that query and choosing to set a Grouping Level on Name, I get the report named CostOrdByNameDate_Query. The output has the order of the unordered table, ignoring the ordering in the query, and grouping only occurs when adjacent rows happen to have the same name. If I make a View from the query, the report has the row order and grouping that I would expect. This is shown in the report CostOrdByNameDate_View. Is it really necessary to make a View to use the Grouping?
I tried making a report directly from the table and using the Sorting tab in the Wizard but that did not work either.