Microsoft KB Archive/124205

= FIX: Browse Does Not Repaint Correctly =

Article ID: 124205

Article Last Modified on 10/15/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft FoxPro 2.6a Standard Edition

-



This article was previously published under Q124205



SYMPTOMS
When a browse is in effect and the table order is changed, the current record may appear to change.



WORKAROUND
To work around the problem, use the following code: CLOSE ALL USE clients SET ORDER TO Client_id ON KEY LABEL F4 DO f4_key ON KEY LABEL F5 DO f5_key BROWSE NOEDIT ON KEY CLOSE ALL

PROCEDURE f4_key SET ORDER TO 0 SHOW WINDOW clients REFRESH GO RECNO

PROCEDURE f5_key SET ORDER TO 0 SHOW WINDOW clients REFRESH GO RECNO



STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual FoxPro 3.0b for Windows.



Steps to Reproduce Behavior
  Use the following code to generate the BROWSE: close all use clients set order to Client_id on key label f4 do f4_key on key label f5 do f5_key browse noedit on key close all

procedure f4_key set order to 0 show window clients refresh *go recno

procedure f5_key set order to 0 show window clients refresh *go recno  Use the arrow keys to move to the 'Advantage Computer School' record. Press the F4 key to see the current record change to the 'Big Masters' record.

NOTE: The Clients table is not included with Visual FoxPro 3.0 but the behavior can be reproduced and corrected using the same techniques as described above, on the Customer table with an index on the cust_id or customer_id field.

Additional query words: VFoxWin FoxWin buglist2.60a fixlist3.00b buglist3.00

Keywords: kbbug kbfix KB124205

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.