ACC1x: GP Fault When RunningSum Tries to Evaluate #ERROR

Last reviewed: May 14, 1997
Article ID: Q97530
The information in this article applies to:
  • Microsoft Access version 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.

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
Hardware : X86
Issue type : kbbug
Resolution Type : kbworkaround


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 14, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.