Blank Data

P

Penny

Subject: Re: Blank Data
From: "Penny" <[email protected]>
Sent: 11/20/2003 7:56:09 AM



-----Original Message-----
Ken,

I'm using this data in multiple currency text boxes in a
report and if one field is blank in the report then it
will not add all the columns up to give me a grand total.
Below is my SQL statement for the query.

Thanks
Penny


SELECT qrySumOfAgencyFeesRE.[SumOfAgency Fee],
qrySumOfOtherFeesRE.[Grand Total],
qrySumOfSyndicationFeesRE.[SumOfIncremental fee income],
qrySumOfSyndicationFeesRE.[Real Estate Market],
tblHierarchyInformation.[Line of Business],
tblHierarchyInformation.Division, tblHierarchyInformation.
[Division Head], qrySumOfDerivativeFeesRE.SumOfNPV
FROM ((((tblHierarchyInformation LEFT JOIN tblCustomer ON
tblHierarchyInformation.[Lending Unit] = tblCustomer.
[Lending Unit]) INNER JOIN qrySumOfSyndicationFeesRE ON
tblHierarchyInformation.[Real Estate Market] =
qrySumOfSyndicationFeesRE.[Real Estate Market]) INNER JOIN
qrySumOfDerivativeFeesRE ON qrySumOfSyndicationFeesRE.
[Real Estate Market] = qrySumOfDerivativeFeesRE.[Real
Estate Market]) LEFT JOIN qrySumOfAgencyFeesRE ON
qrySumOfSyndicationFeesRE.[Real Estate Market] =
qrySumOfAgencyFeesRE.[Real Estate Market]) LEFT JOIN
qrySumOfOtherFeesRE ON qrySumOfSyndicationFeesRE.[Real
Estate Market] = qrySumOfOtherFeesRE.[Real Estate Market]
GROUP BY qrySumOfAgencyFeesRE.[SumOfAgency Fee],
qrySumOfOtherFeesRE.[Grand Total],
qrySumOfSyndicationFeesRE.[SumOfIncremental fee income],
qrySumOfSyndicationFeesRE.[Real Estate Market],
tblHierarchyInformation.[Line of Business],
tblHierarchyInformation.Division, tblHierarchyInformation.
[Division Head], qrySumOfDerivativeFeesRE.SumOfNPV;
-----Original Message-----
Probably you could use the Nz function. But to help you further, can you
give us a bit more info about the query's SQL statement and about how you
want to use the query's records' data?

--
Ken Snell
<MS ACCESS MVP>




.
.
..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Union Queries 0
Important Mail Letter 0

Top