R
Rolf Rosenquist
In a form with a subform, I want to show the sum of all calculations in the
subform. I have read in the Access 2002 Bible on page 859 how to do it. The
sum control in the form should have the Control Source like this:
=[Forms]![Form name]![Sub form name].Forms![Field name in subform]
When I write this into the properties, Access automaticly corrects the Forms
after the dot to [Forms] e.g. with brackets. Now you may think that it is
correct to do, but then the function does not workat all. The control shows
#Name? instead of the calculated value.
With the book there were also all example files on a CD and I tested it. The
sum function works really and if I go to the properties, the last Form is
showed there without the brackets. But if I change any letter and
immediately changes it back again, Acces will automatic edit the statement
to the brackets. And the function does not any longer work. I had to install
it once again from the CD to get it working.
Strange thing... Could it be fixed? Does anyone have a clue?
/ Rolf
subform. I have read in the Access 2002 Bible on page 859 how to do it. The
sum control in the form should have the Control Source like this:
=[Forms]![Form name]![Sub form name].Forms![Field name in subform]
When I write this into the properties, Access automaticly corrects the Forms
after the dot to [Forms] e.g. with brackets. Now you may think that it is
correct to do, but then the function does not workat all. The control shows
#Name? instead of the calculated value.
With the book there were also all example files on a CD and I tested it. The
sum function works really and if I go to the properties, the last Form is
showed there without the brackets. But if I change any letter and
immediately changes it back again, Acces will automatic edit the statement
to the brackets. And the function does not any longer work. I had to install
it once again from the CD to get it working.
Strange thing... Could it be fixed? Does anyone have a clue?
/ Rolf