total in a subform

ingrid

Registered User.
Local time
Today, 21:51
Joined
Apr 10, 2003
Messages
42
I created a subform and want to show the total of the field "vaantal" in the footer.

I tried this:
Create texbox in the formfooter. In the controlsource I placed:
=SUM([vaantal])

but this doesn't work. I'm using access 97. What am I doing wrong?
 
In the formfooter on the subform. I also tryed to place it in the Pagefooter on the subform but thatone I don't see when I show the subform.
 
Add another control to the main form and set its controls source to the textbox in the subForm footer
 
Where is vaantal field? On the subform or on the main form?
 
ah, so try putting nz([vaantal]) in the subform detail and keep Sum([vaantal]) in the subform footer. Should work fine.

-norm.
 

Users who are viewing this thread

Back
Top Bottom