Microsoft KB Archive/97530

{|
 * width="100%"|

ACC1x: GP Fault When RunningSum Tries to Evaluate #ERROR

 * }

Q97530

-

The information in this article applies to:


 * Microsoft Access 1.0

-

SYMPTOMS
If a report contains a control whose expression evaluates to a #ERROR message, changing the RunningSum property to Over Group or Over All causes a general protection (GP) fault.

CAUSE
This problem commonly occurs if you place the Sum function in a text box that appears in the Page Footer section of your report. Aggregate functions, like Sum, Count, Avg, and so forth, are not supported in page headers and footers and return a #ERROR message if placed there. Adding the RunningSum property to a control using the aggregate of the Sum function causes the above GP fault, as does adding the RunningSum property to any control that returns a #ERROR message.

RESOLUTION
Either correct the expression in the ControlSource property so that it evaluates correctly, or move the location of the control on the report form.

STATUS
Microsoft has confirmed this to be a problem in Microsoft Access version 1.0. This problem was corrected in Microsoft Access version 1.1.