Report Totals

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

Guest

Hi, I am trying to set up a report so that it totals the number entered in to
a field. The field is titled NumberofItems. This field can have any number
in the field (ie, one record will have 3, one may have 10, etc.) I tried
doing =Sum[NumberofItems] but I get an error saying the syntax is incorrect.
Can someone please provide help? Thanks.
 
As long as NumberOfItems is a bound field (not calculated on the
report)...
= Sum([NumberOfItems])
 
dstybttle said:
Hi, I am trying to set up a report so that it totals the number entered in
to
a field. The field is titled NumberofItems. This field can have any
number
in the field (ie, one record will have 3, one may have 10, etc.) I tried
doing =Sum[NumberofItems] but I get an error saying the syntax is
incorrect.
Can someone please provide help? Thanks.

In addition to Al Camp's response, you might be "confusing" Access if the
Control displaying the Field's value has the same name as the field. (Yes,
we know the Wizard creates this, but the Access development team should have
known better.) If the Control is a Text Box and the Field name is "Joe"
then a good name for the Control would be "txtJoe"... look in the Other tab
of the Control's propeties.

Larry Linson
Microsoft Access MVP
 

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