How to Use a UDF to Calculate Percentages in a ReportID: Q132727 The information in this article applies to:
SUMMARYTo calculate percentages of a group total in report using the Report Writer, you must create a UDF (user defined function).
MORE INFORMATIONThe FoxPro Report Writer calculates totals in a top down manner. To get a detail item's percentage of a total that resides in the group footer band, the total must first be calculated in the group header. This can be accomplished by using the following code in a UDF:
For more information about UDFs, please see the following article in the
Microsoft Knowledge Base:
Additional reference words: 3.00 VFoxWin
KBCategory: kbtool kbcode
KBSubcategory: FxtoolRwriter
|
Last Reviewed: July 31, 1995 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |