Problems using the Sum function on a form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

sAre there any known problem with this function? I am trying to sum a
numerical field on a slightly complicated form, but get #Error. If I create a
simpler form, with exactly the same box for the sum, it works fine, but
cutting and pasting the box to the more complicated form, I get #Error again
(both forms based on same data, etc).
 
Does the control have the same name as the field to which it's bound? Make
sure that controls on forms and reports don't have the same names as the
fields in the record source. When you try to reference the control, Access
doesn't know if it's the control or the field you're looking for. So, if
your field is called Amount, then name your text box txtAmount.
 
No, control has a different name, eg if field is Qty, control is called SumQty
 

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

Back
Top