I am trying to duplicate an extremly complex report from an older db in a new acess db.
Here is my problem:
The query fields I am using are entitled "Region", "Heart UNOS Code" and "Heart Recovery". I am trying to retrieve sums of the "Heart Recovery" field based on distinct values in the "Heart UNOS Code" field.
For example, two of the codes are 501 and 504. On my report, I would like to retrive distinct sums based on these codes while ignoring the other codes. So, ideally my report would look something like:
code 501 13
code 502 7
I have tried and tried and cannot seem to come up with the answer I need. Please help.
Here is my problem:
The query fields I am using are entitled "Region", "Heart UNOS Code" and "Heart Recovery". I am trying to retrieve sums of the "Heart Recovery" field based on distinct values in the "Heart UNOS Code" field.
For example, two of the codes are 501 and 504. On my report, I would like to retrive distinct sums based on these codes while ignoring the other codes. So, ideally my report would look something like:
code 501 13
code 502 7
I have tried and tried and cannot seem to come up with the answer I need. Please help.