FIX: Cannot Change Logical Field in Browse in DBCS VFP

Last reviewed: October 29, 1997
Article ID: Q169029
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 5.0

SYMPTOMS

The Logical field does not keep changes made in the Browse window when it is the last field in the table. This behavior applies only to DBCS (Double- Byte Character Set) platforms.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug has been corrected in Microsoft Visual FoxPro version 5.0a for Windows.

MORE INFORMATION

When a logical field is the last field in a table running on a DBCS platform, changing the value of that field in the last record of a Browse retains the original value. This happens in both edit mode and in append mode. The value appears to change, but once the user moves off the record, the original value is retained. Different buffering modes have no effect.

Additionally, if a logical value is changed in a Browse window, it automatically changes to False (.F.). This happens regardless of whether the logical field is the last field in the table.

Steps to Reproduce Behavior

  1. Create a table using the following code:

          CREATE TABLE Test (fld1 c(10), fld2 l)
    

  2. Add several records then return to Command window.

  3. Type "BROWSE LAST" in the Command window (or from View menu, select Browse).

  4. Go to last record and change logical field value.

  5. Move off the record.

Notice the value of the logical field in the last record retained its original value.


Additional query words: Localize
Keywords : buglist5.00 FxenvOs FxprgIntl FxprgTable vfoxwin vfpfix5.0a
Version : 5.0
Platform : WINDOWS
Issue type : kbbug
Solution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 29, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.