You do not have to change your subform from a datasheet, but can put
the
total on the main form.
Create the calculated field in the form footer of the subform like
Rodger
said. Ensure to name the control a name you will remember such as
total
then create a text box on the main form and reference the calculated
control
on the subform, ensuring the name of the new control is unique. So if
the
Calculated control on the subform is Total and the subform is called
frmOrders the control on the main form would be =[frmOrders]![total] if
you
use expression builder it will add Forms! befor the form name, get rid
of
this or you will get #Name error
Good Luck
Katherine Davison
www.KatherineDavison.co.uk
Training Consultant
:
Is there a reason you are using a datasheet view and not a form view?
Unforutanely I am not using a running for I am using a datasheet
view
within
the subform and The sum command returns #Error everytime
I am however abel to get a line total but whenI try and total that
field I
get same reult
Thanks
Gerald,
I have to assume you are using this on a continous form. You want
to
place
a textbox in the form footer and then in the control source put in
=sum([ControlName]).
That should do it . . .
Rodger
Hello all I guess this will be an easy question but has me
stumped.
I am trying to get a display that will calculate the running
total
for
the
subform for each record. I create a line total with no problems
but
when
I
try and add the complete group in form I get an #Error
I have tried the Sum command but doesnt seem to work any help is
greatly
appreciated.
Gerald