K
Kim
Hi,
Hope I'm not the only one on this message board because I'm getting
lonely. (
I was hoping I could get some help with this one... I have a table of
data that I'm grouping by one particular field: ie.
DATASET A
PET QTY
cat 2
dog 3
fish 1
cat 1
Grouped by PET, so it becomes:
DATASET A (grouped)
PET QTY
cat 3
dog 3
fish 1
I then want to join that to another query, but at the summarised
level
where the other table looks like this:
DATASET B
PET QTY OF MALES
cat 5
dog 1
fish 3
And the result should be:
DATASET A (grouped)
PET QTY QTY OF MALES
cat 3 5
dog 3 1
fish 1 3
Problem is that it seems to group it at a row level rather than
grouped row level.
I know I can make one query a make-table query that groups the data,
then join to that or even make that one a saved separate query that I
can join to, but I really want the whole thing in one query.
Is there a way to make the first grouped query flatten within that
query so that anything joining to it, does so at the grouped/
summarised level?
Thanks so much and I hope I have been clear enough.
Kim
Hope I'm not the only one on this message board because I'm getting
lonely. (
I was hoping I could get some help with this one... I have a table of
data that I'm grouping by one particular field: ie.
DATASET A
PET QTY
cat 2
dog 3
fish 1
cat 1
Grouped by PET, so it becomes:
DATASET A (grouped)
PET QTY
cat 3
dog 3
fish 1
I then want to join that to another query, but at the summarised
level
where the other table looks like this:
DATASET B
PET QTY OF MALES
cat 5
dog 1
fish 3
And the result should be:
DATASET A (grouped)
PET QTY QTY OF MALES
cat 3 5
dog 3 1
fish 1 3
Problem is that it seems to group it at a row level rather than
grouped row level.
I know I can make one query a make-table query that groups the data,
then join to that or even make that one a saved separate query that I
can join to, but I really want the whole thing in one query.
Is there a way to make the first grouped query flatten within that
query so that anything joining to it, does so at the grouped/
summarised level?
Thanks so much and I hope I have been clear enough.
Kim