I've been given a database and asked to figure out how to sort a
report. The report needs to be sorted on a field that is the sum of a
field that is calculated in the underlying query. NetSales is
calculated in the query; the control source of the text box on the
report is Sum([NetSales]). I need to sort on this. I tried going to
the query and creating a new field - TotalNetSales: Sum([NetSales]),
but I get an error message about "cannot have aggregate function
in...clause (Sum([NetSales])". Is there a way to do this?
TIA,
JD