Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIf() / IsNull with a sub-report

Status
Not open for further replies.

Trevahaha

Programmer
Nov 21, 2002
129
US
I've tried a couple things, but everything is resulting in #Error.

I have a subreport in a report containing payments.

Right now I have:

Name: totalPayments
Source: =srptPayments.Report!txtTotalPayments

Name: txtProjectBalance
Source: =([txtProjectSubTotal]) - IIf([TotalPayments]Is Null,0,[TotalPayments])

It doesn't seem to be detecting that it's null... or am I approaching this all wrong?

Trevor
 
How embarassing.. it was just down below.
PLEASE IGNORE THIS POST :)

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top