A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Select query to obtain records of different depts



 
 
Thread Tools Display Modes
  #1  
Old August 12th, 2004, 11:18 AM
external usenet poster
 
Posts: n/a
Default 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  
Old August 12th, 2004, 12:18 PM
Michel Walsh
external usenet poster
 
Posts: n/a
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 05:19 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.