MontyBurns
Programmer
Hi,
tblTopics (simplified)
----------
TopicID autonum
MainGroup text(50)
InReview Yes/No
Completed Yes/No
Weighting Integer
I need to have a report which will display 3 columns: distinct MainGroup
Sum(Weighting) WHERE InReview=True
Sum(Weighting) WHERE Completed=True
Is this possible? I've tried doing a query for each and then UNION these two together etc, but can't seem to get it right.
Any ideas anyone? I'm really stumped with this one!
Thanks,
Burns
tblTopics (simplified)
----------
TopicID autonum
MainGroup text(50)
InReview Yes/No
Completed Yes/No
Weighting Integer
I need to have a report which will display 3 columns: distinct MainGroup
Sum(Weighting) WHERE InReview=True
Sum(Weighting) WHERE Completed=True
Is this possible? I've tried doing a query for each and then UNION these two together etc, but can't seem to get it right.
Any ideas anyone? I'm really stumped with this one!
Thanks,
Burns