FIX: Report Calling Custom Method Returns Incorrect InfoLast reviewed: October 29, 1997Article ID: Q161185 |
The information in this article applies to:
SYMPTOMSA report that calls a function defined in a custom class prints the information incorrectly. However, in preview mode, values from the custom class appear correctly.
RESOLUTIONPlace the Date() function directly in the Expression box of the text box or use a user-defined function (UDF) to return the desired value.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem has been fixed in Visual FoxPro 5.0a.
MORE INFORMATIONThe example below defines a custom class that returns a character string and the system date. If the report is previewed, the date appears correctly. Printing the report, however, causes the date value to appear as a logical value (.T.). The behavior does not occur in Visual FoxPro 3.0b.
Steps to Reproduce Behavior
Keywords : buglist5.00 FxprgClassoop vfoxwin vfpfix5.0a kbprg kbbuglist kbfixlist Version : 5.0 Platform : WINDOWS Issue type : kbbug Solution Type : kbfix |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |