If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Select query to obtain records of different depts
Hello,
I have a select query that retrieves information from four different departments.How would i set the criteria to separate the info obtained from these four departments and get a summ total for each since my current results are all departments together.Is it possible to even skip a row between depts?The depts would be like Marketing,Sales,Finance,Accounting. Thanks for any assistance. |
#2
|
|||
|
|||
Select query to obtain records of different depts
Hi,
Have you tried a total query? In the query designer, click on the summation button, the one with a capital Sigma, a kind of M rotated by 90 degree, and a new line, Total, appear in the grid. Drag the field Department in the grid, keep the proposed GroupBy. Drag the field with the data to be summed, in the grid, change the GroupBy to Sum. If you wish to applied a criteria before that the summation occur, drag the field, in the grid, change the GroupBy to Where, and supply the criteria. Hoping it may help, Vanderghast, Access MVP wrote in message ... Hello, I have a select query that retrieves information from four different departments.How would i set the criteria to separate the info obtained from these four departments and get a summ total for each since my current results are all departments together.Is it possible to even skip a row between depts?The depts would be like Marketing,Sales,Finance,Accounting. Thanks for any assistance. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Query to join records form 2 databases | bdehning | General Discussion | 5 | August 9th, 2004 03:09 PM |
Select records | Ricoy_Chicago | General Discussion | 6 | July 16th, 2004 07:12 PM |
displaying all the duplicate records in a duplicate query | Paul James | Running & Setting Up Queries | 6 | July 15th, 2004 09:28 AM |
append Query duplicating records | Alex | Running & Setting Up Queries | 1 | July 8th, 2004 01:31 PM |
Query combining multiple records from one table can't add records | Clint Marshall | Running & Setting Up Queries | 4 | July 8th, 2004 01:25 PM |