S skwilliams Registered User. Local time Today, 16:21 Joined Jan 18, 2002 Messages 516 Feb 23, 2006 #1 I have a table with information and need a query to display the results in a specific format I've attached an excel file which shows the table data and the query format needed. Any ideas?? Thanks. Attachments Book1.zip Book1.zip 2.2 KB · Views: 121
I have a table with information and need a query to display the results in a specific format I've attached an excel file which shows the table data and the query format needed. Any ideas?? Thanks.
D davewhite04 Registered User. Local time Today, 21:21 Joined Feb 23, 2006 Messages 42 Feb 23, 2006 #2 SELECT DISTINCTROW Table1.Category, Table1.Type, Sum(Table1.Total) AS [Sum Of Total] FROM Table1 GROUP BY Table1.Category, Table1.Type; Hope this helps.
SELECT DISTINCTROW Table1.Category, Table1.Type, Sum(Table1.Total) AS [Sum Of Total] FROM Table1 GROUP BY Table1.Category, Table1.Type; Hope this helps.
S skwilliams Registered User. Local time Today, 16:21 Joined Jan 18, 2002 Messages 516 Feb 23, 2006 #3 Thanks. But I need the Mc Blanks totaled, Mc Printed totaled, etc. They are still being split by date.
Thanks. But I need the Mc Blanks totaled, Mc Printed totaled, etc. They are still being split by date.
S skwilliams Registered User. Local time Today, 16:21 Joined Jan 18, 2002 Messages 516 Feb 23, 2006 #4 Thanks. But I need the Mc Blanks totaled, Mc Printed totaled, etc. They are still being split by date.
Thanks. But I need the Mc Blanks totaled, Mc Printed totaled, etc. They are still being split by date.
S skwilliams Registered User. Local time Today, 16:21 Joined Jan 18, 2002 Messages 516 Feb 23, 2006 #5 Thanks. But I need the Mc Blanks totaled, Mc Printed totaled, etc. They are still being split by date.
Thanks. But I need the Mc Blanks totaled, Mc Printed totaled, etc. They are still being split by date.
D davewhite04 Registered User. Local time Today, 21:21 Joined Feb 23, 2006 Messages 42 Feb 23, 2006 #6 You need to remove the RecDate from the select statement. Just have Category, Type and Sum(I called it total).
You need to remove the RecDate from the select statement. Just have Category, Type and Sum(I called it total).