FIX: Browse Key Record Pointer Moves Incorrectly

Last reviewed: October 20, 1997
Article 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 : fixlist5.00 FoxDos FoxMac FoxUnix FoxWin FxprgBrowse vfoxwin kbbuglist kbfixlist kbprg
Version : 2.60a 3.00 3.00b | 2.60a | 2.60
Platform : MACINTOSH MS-DOS UNIX WINDOWS
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 20, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.