summing sub forms

reel knotty

Registered User.
Local time
Today, 21:01
Joined
Jun 5, 2002
Messages
71
Ok guys I have a form with 3 subforms in the main form. all 4 forms (main and 3 subs) have calculations that I would like to total. I do have sums in each subform but not all subforms are used for each entry. When I use all of the fields my grand total works fine but if I don't complete all of the fields the grand total will not calculate. I tryed setting default values to 0 so there would be something there to sum but it doesn't seem to work the way I expect. Any input is greatly appreciated!!

Nate
 
you may want to include Not IsNull in your code. I think that may do the trick
 
Look up the IsNumeric function
 
I tryed all of the suggestions and the Nz function did the trick!! Thanks Fizzio. And if you feel the need send me one of those sweet brown ales over here ;)
 
Here you go, a six pack!

newcastle_brown_ale.jpg
 
ooooohh yeah thats the stuff. Thats nectar of the gods compared to this stuff over here!
 
I prefer Newcastle Amber myself - although Fiz thinks its a girls drink.

Col
:cool:
 

Users who are viewing this thread

Back
Top Bottom