G
Guest
My main report of the year (my reason for getting paid, in fact) relies on a
complex query of eight tables. I have been manually adding a word processor
cover memo to the report, but this year I want to place it in the Report
Header. The WP memo includes a sum figure I copy from a simple statistics
report that takes it from this Query Builder SQL:
SELECT DISTINCTROW Sum([MktValsLastFY].[MVLFYMktVal]) AS SumMVLFYMktVal
FROM MtchDonorTbl INNER JOIN MktValsLastFY ON MtchDonorTbl.MchDonFNo =
MktValsLastFY.MVLFYAcctNum
WHERE (((MtchDonorTbl.MchDonRep)=True));
[SumMVLFYMktVal] is the field in the stats report.
How do I grab that figure for my cover memo? I really need to avoid messing
with my already too-complicated main query.
Thanks!
complex query of eight tables. I have been manually adding a word processor
cover memo to the report, but this year I want to place it in the Report
Header. The WP memo includes a sum figure I copy from a simple statistics
report that takes it from this Query Builder SQL:
SELECT DISTINCTROW Sum([MktValsLastFY].[MVLFYMktVal]) AS SumMVLFYMktVal
FROM MtchDonorTbl INNER JOIN MktValsLastFY ON MtchDonorTbl.MchDonFNo =
MktValsLastFY.MVLFYAcctNum
WHERE (((MtchDonorTbl.MchDonRep)=True));
[SumMVLFYMktVal] is the field in the stats report.
How do I grab that figure for my cover memo? I really need to avoid messing
with my already too-complicated main query.
Thanks!