ACC1x: Invalid Results in Subreport When CanGrow = YesLast reviewed: May 14, 1997Article ID: Q98794 |
The information in this article applies to:
SYMPTOMSIf a control in a subreport uses an expression or aggregate function and its CanGrow property is set to Yes, Microsoft Access does not calculate the value of the field correctly. For example, assume your database contains a table named Test that has a text field called TestColumn containing the following values:
TestColumn ---------- Mickey DonaldIf you create a report with a single text box (Field1) containing the expression
=IIf(IsNull([TestColumn]),"N/A",[TestColumn])and you set the CanGrow property for Field1 to Yes and then embed that report as a subreport, you get the following incorrect results:
Donald DonaldIf the calculated subreport field contains an aggregate function, instead of a text-based expression as above, the subreport displays incorrect numeric values.
RESOLUTIONMake sure that the CanGrow property of subreport fields that use expressions or calculations is set to No.
STATUSMicrosoft has confirmed this to be a problem in Microsoft Access version 1.0. This problem no longer occurs in Microsoft Access version 1.1. |
Keywords : kbusage RptSub
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |