RATE THIS ANSWER
+1
Click to Vote:
1
0
Hi,
You'll need to do something like the following :-
In report summary functions - specify total for your $$.
In report breaks - specify all the fields that you need in your file (including order#) at the same level (eg 1).
In output type and form - specify database file and summary only.
When you run your query it should create your file with one record per order# with an order total and a "break level" (what you specified in report breaks). It will also have a record with a "break level" of 0 which is the total for the complete query.
In your excel, you should be able to remove the break level 0 record (or your could use UPDDTA or STRSQL to remove it).
You can use CPYTOIMPF to convert the resulting file to .CSV for import into excel.
Regards,
Martin Gilbert.
Last Answered:
Mar 12 2009 4:54 PM GMT by Gilly400 
23625 pts.