ADP Form totals causing error

S

scott

Is there a difference between access and ADP forms in the way you total
values in the "Form Footer" section?

In my sub form footer, I'm trying to use SUM function to total up a control
on the sub form. I've done this many times
without any trouble in a regular Access file. I'm getting the #Error in the
total control in the subform footer.

For a test, I used the formula in FORMULA 2 below and the ADP subform
returns the 1st
value on the subform and then divides by 2. But, if I try FORMULA 1, I get
the #Error.

This doesn't have anything to do with field data types because
COUNT([myIDfield]) also returns the #Error and myIDfield is an integer type.

Any ideas on what I could be doing wrong?


FORMULA 1 (gives #Error):

=SUM([decDuration])


FORMULA 2 (works and just displays value of 1st value in subform divided by
2):
=([decDuration]*2)
 
S

scott

thanks.

Sylvain Lafontaine said:
Maybe http://support.microsoft.com/?id=225992 ?

--
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: http://cerbermail.com/?QugbLEWINF


scott said:
Is there a difference between access and ADP forms in the way you total
values in the "Form Footer" section?

In my sub form footer, I'm trying to use SUM function to total up a
control on the sub form. I've done this many times
without any trouble in a regular Access file. I'm getting the #Error in
the total control in the subform footer.

For a test, I used the formula in FORMULA 2 below and the ADP subform
returns the 1st
value on the subform and then divides by 2. But, if I try FORMULA 1, I
get
the #Error.

This doesn't have anything to do with field data types because
COUNT([myIDfield]) also returns the #Error and myIDfield is an integer
type.

Any ideas on what I could be doing wrong?


FORMULA 1 (gives #Error):

=SUM([decDuration])


FORMULA 2 (works and just displays value of 1st value in subform divided
by
2):
=([decDuration]*2)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top