Hi,
Could someone please help point me in the right direction for this? I've tried looking online but I cannot find a solution (must be searching the wrong terms).
In my head this should be simple, but i'm clearly not doing something right.
I've got two reports set up from individual queries. One shows the sales of a product and the other shows the claims on a product.
Each report has a total for each product on it, and it'd be really handy to get the total from the claims report to show on the sales report.
I've tried using a formula which references the query data rather than the report, but i just get an error?
Can you not display data from two queries on one report?
As an example the formula on the sales report for one of the products is:
=Sum(IIf([SalesQuery]![Product]="Aggregated Fleet",[SalesQuery]![OriginalNet],0))
and the formula on the claims report is:
=Sum(IIf([ClaimsQuery]![Product]="Aggregated Fleet",[ClaimsQuery]![excessValue],0))
But work fine on their own reports, but the claims data just won't pull through on the sales report.
What am i missing? assuming this is an MS Access thing i just aint aware of?
Edit:
The query for the claims data has a start and end date parameter set for it in a form. This is apparently relevant
Thanks
Could someone please help point me in the right direction for this? I've tried looking online but I cannot find a solution (must be searching the wrong terms).
In my head this should be simple, but i'm clearly not doing something right.
I've got two reports set up from individual queries. One shows the sales of a product and the other shows the claims on a product.
Each report has a total for each product on it, and it'd be really handy to get the total from the claims report to show on the sales report.
I've tried using a formula which references the query data rather than the report, but i just get an error?
Can you not display data from two queries on one report?
As an example the formula on the sales report for one of the products is:
=Sum(IIf([SalesQuery]![Product]="Aggregated Fleet",[SalesQuery]![OriginalNet],0))
and the formula on the claims report is:
=Sum(IIf([ClaimsQuery]![Product]="Aggregated Fleet",[ClaimsQuery]![excessValue],0))
But work fine on their own reports, but the claims data just won't pull through on the sales report.
What am i missing? assuming this is an MS Access thing i just aint aware of?
Edit:
The query for the claims data has a start and end date parameter set for it in a form. This is apparently relevant
Thanks
Last edited: