not so simple tast for a query -- help

J

JR

I have a table that looks a lot like the following:

Orgnization |Location Code | Equip ID | Supply ID | Supply
Weight | Usage Rate

Each organization type (organization) can operate in one
of two locations (Location Code). Each organization also
uses several items of equipment (Equip ID) and each item
of equipment uses one or more expendable supplies (supply
ID) which have weights and are used at different rates
based on location (Usage Rate).

I need to build a query that tells me how much weight is
allocated to each organization by location --- and I
haven't the foggiest idea on where to start.

Please -- if anyone has a suggestion/solution, I would
appreciate it.

Thanks,
JR
 
J

JulieD

Hi JR

if i'm understanding you correctly then create a select query with the
following fields

Organization | Location Code | Weight

then click on the total icon (E) on the toolbar in design view of the query
change the group by to SUM under weight (leave the other two as group by)
sort Organization - ascending
sort Location Code - ascending

and you should have the information that you want

Regards
JulieD
 
J

JR

Hi JulieD

It worked like a charm!

Thanks!
-----Original Message-----
Hi JR

if i'm understanding you correctly then create a select query with the
following fields

Organization | Location Code | Weight

then click on the total icon (E) on the toolbar in design view of the query
change the group by to SUM under weight (leave the other two as group by)
sort Organization - ascending
sort Location Code - ascending

and you should have the information that you want

Regards
JulieD




.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top