Greetings and salutations,
I'm trying to put together a query for one of my users to track sales numbers and it is starting to give me a headache. I've put together a query using Query/400 with a break at each invoice to sum the dollar amount for each one.
The issue is that on many of our invoices, the same product appears on separate lines. My user wants the crunch the identical products into a single line.
So, from this:
Invoice 1
Part # Quantity
A 17
A 32
To this:
Invoice 1
Part # Quantity
A 49
Is this possible within Query/400? Unfortunately, I don't have access to create a view in SQL to do this for me. Any help would be greatly appreciated.
Thanks,
Matt
Software/Hardware used:
ASKED:
September 17, 2004 3:52 PM
UPDATED:
October 15, 2009 6:40 AM
It seems you need to add a break at each item number also to total the quantities. Where is this breaking down for you?
You can also do it with 2 queries: The 1st with a break on invoice and item number but output to a dadabase file and use the “summary only” option (2). The 2nd query would use the database file you just created that is summarized by invoice and item number.