FIX: Browse Key Record Pointer Moves Incorrectly

ID: Q129913

2.60a 3.00 3.00b | 2.60a  | 2.60a     | 2.60
WINDOWS          | MS-DOS | MACINTOSH | UNIX
kbprg kbbuglist kbfixlist

The information in this article applies to:

  • Microsoft Visual FoxPro for Windows, versions 3.0, 3.0b
  • Microsoft FoxPro for Windows, version 2.6a
  • Microsoft FoxPro for MS-DOS, version 2.6a
  • Microsoft FoxPro for Macintosh, version 2.6a
  • Microsoft FoxPro for UNIX, version 2.6

SYMPTOMS

The Record Pointer moves to the last record in a Browse window when the Browse window is initially activated. The Record Pointer moves to the last record even if the GO TOP command is issued before or after the Browse window is activated. This situation occurs if both of the following conditions are true:

  • The Table being browsed is indexed in Descending Order.
  • The Browse is activated using the KEY clause with the Browse command.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. The problem has been fixed in Visual FoxPro 5.0.

MORE INFORMATION

Steps to Reproduce Problem

1. Open the Customer table in the Tutorial directory under the Main FoxPro

   directory and Index it using this code:

   USE FoxPro\Tutorial\Customer.dbf

   && For FoxPro v2.6 for UNIX use the following command
   && USE \usr\FoxPro\tutorial\customer.dbf

   INDEX ON State TAG State DESCENDING

2. Issue this command:

   BROWSE KEY "CA"

3. Close the Browse window, and issue these commands:

   GO TOP
   BROWSE KEY "CA"

4. With the Browse window open, issue "GO TOP" command from the Command
   window, and then re-select the Browse window.

KBCategory: kbprg kbbuglist kbfixlist KBSubcategory: FxprgBrowse fixlist5.00 VFoxWin FoxWin FoxDos FoxMac FoxUnix buglist2.60 buglist2.60a buglist3.00 buglist3.00b Additional reference words: 2.60 2.60a 3.00 3.00b
Keywords          : kbUNIX kbVFp kbVFp500fix FoxDos FoxWin FxprgBrowse kbbuglist kbfixlist
Version           : 2.60a 3.00 3.00b | 2.60a | 2.60
Platform          : MACINTOSH MS-DOS UNIX WINDOWS
Solution Type     : kbfix


Last Reviewed: October 23, 1997
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.