
Originally Posted by
TimC
I am trying to create a calculated field in a form that will total or sum 6 different fields pulled from either the form or associated query. In some cases, the fields may be null or contain a value. The value of null will always be zero. I have already tried the following:
ProposedPenalty:[Fine1]+[Fine2]+[Fine3]+[Fine4]+[Fine5]+[Fine6], but this only works if/when all fields contain a value. I have also attempted to add Nz([Fine1],0) +NZ([Fine2],0) +NZ([Fine3],0) +NZ([Fine4],0) +NZ([Fine5],0) + NZ([Fine6],0) into the control source line, but I did not have any luck. I am a newbie and simply need some help. Any suggestions? Thanks.