ACC1x: GP Fault When RunningSum Tries to Evaluate #ERROR

ID: Q97530


The information in this article applies to:


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.


REFERENCES

For an example of how to place totals in page headers and footers, see pages 576-579 of the "User's Guide" for version 1.0.


Keywords          : kbusage RptProp 
Version           : 1.0
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: March 20, 1999