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!

Report Calculated Fields give Errors, need to eliminate 1

Status
Not open for further replies.

CptCrusty1

Programmer
Feb 17, 2005
216
US
I have a report that merely calculates the values of the fields above it. The problem is in the case where there are no values. I get an error becuase it is trying to calculate a null. I've tried several functions (isnull()) etc, trying to eliminate the error and place a Zero in it's place with no success. Any tips/triks etc?

I live to work and I work to live.
 
Try the NZ function as in

NZ([SomeField],0)

[small]No! No! You're not thinking ... you're only being logical.
- Neils Bohr[/small]
 
DUH!!!!! I COMPLETELY FORGOT ABOUT THAT LITTLE GUY.....UGH! I FEEL SO Stoooooooooopid!!!!

Thanks Dude....



I live to work and I work to live.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top