Limiting records for subtotal

L

Linda

I am attempting to come up with a report, based on a query, that would limit
the records returned to being unique.

I only have 4 fields in the query -
Primary Key (because this is imported from an oracle database, it is not
unique. If there are additional location fields, the key repeats)
State - only 8 states in the query
Quantity - acres (this again comes from the oracle databse and the number
repeats, based on the primary key, when there are location changes). This is
the field I want to subtotal by State, only taking into account one quantity
per Primary Key.
Interest type - I have limited this in the query criteria Not Like "lease"
so leases aren't counted.

I am fighting a wicked head cold and just can't seem to figure this out!
 
B

Bernie

Linda said:
I am attempting to come up with a report, based on a query, that would limit
the records returned to being unique.

I only have 4 fields in the query -
Primary Key (because this is imported from an oracle database, it is not
unique. If there are additional location fields, the key repeats)
State - only 8 states in the query
Quantity - acres (this again comes from the oracle databse and the number
repeats, based on the primary key, when there are location changes). This is
the field I want to subtotal by State, only taking into account one quantity
per Primary Key.
Interest type - I have limited this in the query criteria Not Like "lease"
so leases aren't counted.

I am fighting a wicked head cold and just can't seem to figure this out!

Extract the data from the oracle database server then create queries in
access using unique types. By doing so, you only have unique values in your
query and then use this data for your report.
 

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