BUG: Format Clause in Report Causes Erroneous CharactersID: Q117213 The information in this article applies to:
SYMPTOMSIn the Report Writer, if a field has a format clause and an IIF(,,) statement in it, erroneous characters will appear if the field is blank.
RESOLUTIONIf you remove the format clause ("XXXXXXXXXX" in the example below), the problem will no longer occur.
STATUSMicrosoft has confirmed this to be a problem in FoxPro versions 2.5, 2.5a, 2.5b, and 2.6. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce the Problem1. In the Command window, type the following commands:
2. In the Report Writer, choose the Field button, place a field in the
3. Choose Verify to make sure the expression is valid, and then choose OK.
4. In the Format box, type the following, and then choose OK.
5. From the Report menu, choose Page Preview. Choose the Zoom In button.
The first record is displayed as "BLANK00". It should be "BLANK". If the report expression is changed to IIF(company = ' ',' ',company), part of the field prints even though it should appear blank. Additional reference words: FoxWin 2.50 2.50a 2.50b 2.60 buglist2.50 buglist2.50a buglist2.50b buglist2.60 Report IIF FORMAT RWriter KBCategory: kbprg kbbuglist KBSubcategory: FxtoolRwriter |
|
Last Reviewed: June 27, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |