M
mazzarin
Hello all,
With the help of John Vinson's post in
http://groups.google.com/group/microsoft.public.access/browse_frm/thread/61eb474b08438275?hl=en
I was able to make way on a query I'm trying to build.
I imported an excel worksheet (~20,000 entries) into Access, and I am
trying to extract some information. First I wanted to find duplicates,
and rank by duplicate appearance. I have gotten that part.
In my db, I have a column 'Qty' that specifies the number of times the
event occurred. At the moment, I only have the number of times the
event appeared in the db. I would like to factor in the number of times
now.
An example of my db would look like:
ID Event# Qty
1 A 10
2 B 100
3 C 30
4 A 60
5 A 50
So in my initial query, I get A with a CountofID value of 3, B with 1,
C with 1.
However, A actually needs to be 120, B needs to be 100, C needs to be
30.
My idea is to make a second query based off the first query, where one
item would be the Event# from Query1 (because that cut out all the
duplicates), and the second would be the all the number of occurences
of that event added up.
I'm not sure how to go about it. Any help is appreciated!
With the help of John Vinson's post in
http://groups.google.com/group/microsoft.public.access/browse_frm/thread/61eb474b08438275?hl=en
I was able to make way on a query I'm trying to build.
I imported an excel worksheet (~20,000 entries) into Access, and I am
trying to extract some information. First I wanted to find duplicates,
and rank by duplicate appearance. I have gotten that part.
In my db, I have a column 'Qty' that specifies the number of times the
event occurred. At the moment, I only have the number of times the
event appeared in the db. I would like to factor in the number of times
now.
An example of my db would look like:
ID Event# Qty
1 A 10
2 B 100
3 C 30
4 A 60
5 A 50
So in my initial query, I get A with a CountofID value of 3, B with 1,
C with 1.
However, A actually needs to be 120, B needs to be 100, C needs to be
30.
My idea is to make a second query based off the first query, where one
item would be the Event# from Query1 (because that cut out all the
duplicates), and the second would be the all the number of occurences
of that event added up.
I'm not sure how to go about it. Any help is appreciated!