Microsoft KB Archive/169029

From BetaArchive Wiki

Article ID: 169029

Article Last Modified on 10/16/2002



APPLIES TO

  • Microsoft Visual FoxPro 5.0 Standard Edition



This article was previously published under Q169029

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: kbbug kbfix kbvfp500afix KB169029