Re: Calculation on Report
- From: "Wayne Morgan" <comprev_gothroughthenewsgroup@xxxxxxxxxxx>
- Date: Wed, 13 Jul 2005 12:42:40 -0500
I suspect that the field value isn't really $0.00. You have probably
formatted a Null value to display this way. If that is the case, use Nz() in
your equation to change the Null values to 0.
=Nz([rptPMRentRollTab1BaseRent
subreport].[Report].[rentamount],0)+Nz([rptPMRentRollTab2BaseCAM
subreport].[Report].[camamount],0)+Nz([rptPMRentRollTab4BasePtax
subreport].[Report].[PTAXamount],0)+Nz([rptPMRentRollTab6BaseINS
subreport].[Report].[INSamount],0)+Nz([rptPMRentRollOpCostTab
subreport].[Report].[Amount],0)
--
Wayne Morgan
MS Access MVP
"Lori" <Lori@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F2634824-22B0-4AA9-8F2D-DE7489797ABB@xxxxxxxxxxxxxxxx
> Hello, I have a main report and several subreports. I am calculating a
> field
> from each one of these subreports into an unbound text box on the main
> report.
>
> =[rptPMRentRollTab1BaseRent
> subreport].[Report].[rentamount]+[rptPMRentRollTab2BaseCAM
> subreport].[Report].[camamount]+[rptPMRentRollTab4BasePtax
> subreport].[Report].[PTAXamount]+[rptPMRentRollTab6BaseINS
> subreport].[Report].[INSamount]+[rptPMRentRollOpCostTab
> subreport].[Report].[Amount]
>
> It works on those files where there is a dollar amount in the field. But
> when the field is $0.00, then this returns "#Error". Any suggestions?
> --
> Thank, Lori
.
- References:
- Calculation on Report
- From: Lori
- Calculation on Report
- Prev by Date: Re: Calculating Difference In Time For Age
- Next by Date: Re: How do I add a filter to an existing report
- Previous by thread: Calculation on Report
- Next by thread: Re: Calculation on Report
- Index(es):
Relevant Pages
|