Access '97 Sum Problem

mattalin

Board Regular
Joined
Mar 18, 2003
Messages
89
I am creating a report using Access '97 by referencing a query. I am able to show the data in the report from the query fine, however, when I try to use the "=sum()" expression in the ControlSource box I get the following error message: "Invalid Bracketing of name '[Headcount-Plan.Headcount]'" The strange part is I originally created the database in Access 2000 and converted it to '97 and the formula worked fine before.

The expression I have is: =Sum([Headcount-Plan.Headcount])
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Try:

=Sum([Headcount]-[Plan.Headcount])

or

=Sum([Headcount]-[Plan]![Headcount])

=Sum([Headcount])-([Plan]![Headcount])


Ziggy
 
Upvote 0
"Headcount-plan" is the name of the query the report references and "headcount" is the data field so unfortunately your suggestions won't work.
 
Upvote 0

Forum statistics

Threads
1,221,618
Messages
6,160,853
Members
451,674
Latest member
TJPsmt

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top