Hi all
I know the heading makes out it's a Query problem, however, it's definitely a Report problem.
I have a report and the underlying record source, which is a query, spans 4 tables. I'm concered with two of the tables...
If I look at the query I can see the one side duplicated to accomodate for the many side. So, if there is one Amount on the one side (£20,000) and it's sent in two installements (£10,000 each) then the £20,000 is duplicated twice in the query.
I can hide duplicates etc, in the report, however, when I use
=Sum([Amount]) to add the total I get £40,000 even though the duplicates are hidden.
Here's the main probelm. I can't calculate the installements instead (which would work) for reasons to do with future dates. Also, I can't make the Many side records a subreport (which would also work) because I'm using dates from that side as criteria against the report.
Does anyone know of a way I can calculate the "Amount" without calculating the duplicates?
Thankyou for any help in advance!
I know the heading makes out it's a Query problem, however, it's definitely a Report problem.
I have a report and the underlying record source, which is a query, spans 4 tables. I'm concered with two of the tables...
If I look at the query I can see the one side duplicated to accomodate for the many side. So, if there is one Amount on the one side (£20,000) and it's sent in two installements (£10,000 each) then the £20,000 is duplicated twice in the query.
I can hide duplicates etc, in the report, however, when I use
=Sum([Amount]) to add the total I get £40,000 even though the duplicates are hidden.
Here's the main probelm. I can't calculate the installements instead (which would work) for reasons to do with future dates. Also, I can't make the Many side records a subreport (which would also work) because I'm using dates from that side as criteria against the report.
Does anyone know of a way I can calculate the "Amount" without calculating the duplicates?
Thankyou for any help in advance!
Last edited: