FIX: Report Variables Return Incorrect ValuesID: Q107555 2.50 2.50a WINDOWS kbprg kbfixlist kbbuglist The information in this article applies to:
SYMPTOMSReport variables initialized through a user-defined function (UDF) in a self-referential fashion (for example, memvar = memvar + 1) return improper values.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in FoxPro 2.5b for Windows.
MORE INFORMATION
Steps to Reproduce Problem1. From the Command window or a program, execute the following code. It 2. Create a report with the parent.id_num and child.chld_total fields in
3. Create a data grouping based on parent.id_num.
4. Create a report variable with these properties:
5. Create a Summary band and place a field in it based on memvar.
6. Save the report and the environment and name the report SELF_REF.FRX.
7. Issue the following commands in the Command window:
Note the value in the Summary band--it is 3 when it should be 1.
Additional reference words: FoxWin 2.50 2.50a buglist2.50a fixlist2.50b KBCategory: kbprg kbfixlist kbbuglist KBSubcategory: FxprgGeneral
|
|
Last Reviewed: October 16, 1997 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |