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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Blank fields do not calculate

Status
Not open for further replies.

Zed5010

IS-IT--Management
Oct 9, 2005
42
CA
Hi,

I have a form that I would like to only fill in the info at hand and leave the other fields blank. The problem is summing up all the fields returns blank unless I enter zero in the blank field.

Is there a way around this?

Much appreciate it.
 
Howare ya Zed5010 . . .

Something like:
Code:
[blue]   = Sum([purple][b]Nz([/b][/purple]SumFieldName[purple][b])[/b][/purple])[/blue]

Calvin.gif
See Ya! . . . . . .
 
Hi TheACeMan1,
Tired, working on this database for my brother-in-law.

Need your help:

Can you replace the ? with your expression? Thanks

FORM

field1 = 9
field2 = null

Total = ?


 
Maybe put in the controlsource for the Total-field:

=Nz(field1)+ Nz(field2)

Pampers [afro]
There is only one way to change a diaper - fast
 
Thanks Pampers!

It's working.

Cheers,

Zed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top