ACC1x: GP Fault When RunningSum Tries to Evaluate #ERRORLast reviewed: May 14, 1997Article ID: Q97530 |
The information in this article applies to:
SYMPTOMSIf 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.
CAUSEThis 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.
RESOLUTIONEither correct the expression in the ControlSource property so that it evaluates correctly, or move the location of the control on the report form.
STATUSMicrosoft has confirmed this to be a problem in Microsoft Access version 1.0. This problem was corrected in Microsoft Access version 1.1.
REFERENCESFor 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
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |