FIX: SET REFRESH Incorrectly Moves Pointer in Child Browse

Last reviewed: October 14, 1997
Article ID: Q107519
2.50a | 2.50a MS-DOS | WINDOWS kbprg kbfixlist kbbuglist

The information in this article applies to:

  • Microsoft FoxPro for MS-DOS, version 2.5a
  • Microsoft FoxPro for Windows, version 2.5a

SYMPTOMS

In a child Browse window of a one-to-many relationship, the record pointer returns to the first record in the child table after the amount of time specified in the SET REFRESH value. This problem occurs only if SET REFRESH is greater than zero.

STATUS

Microsoft has confirmed this to be a problem in FoxPro 2.5a for MS-DOS and FoxPro 2.5a for Windows. This problem was corrected in FoxPro 2.5b for MS-DOS and FoxPro 2.5b for Windows.

MORE INFORMATION

Steps to Reproduce Problem

  1. Enter the following lines of code in a .PRG file:

          ****Begin Program Example****
    

          SET EXACT OFF
          SET REFRESH TO 3
    

          CLOSE ALL
          USE c:\foxprow\tutorial\customer.dbf
          SELECT B
          USE c:\foxprow\tutorial\invoices.dbf
          SET ORDER TO cno
          SELECT customer
          SET RELATION TO cno INTO invoices
          LOCATE FOR company = "Atec"
          BROWSE LAST NOWAIT
          SELECT invoices
          BROWSE LAST NOWAIT
          ACTIVATE WINDOW customer
    

          WAIT WINDOW "Please select the other browse, arrow down " + ;
          "once or twice" + chr(13) + "And watch... the record " + ;
          "pointer jumps to the top."
    

          ****End Program Example****
    

  2. Run the program and move to the second or third record in the child window using the DOWN ARROW key. The record pointer will return to the first record after the time allotted in the SET REFRESH command.


Additional reference words: FoxWin FoxDos 2.50 buglist2.50a fixlist2.50b
KBCategory: kbprg kbfixlist kbbuglist
KBSubcategory: FxprgBrowse
Keywords : FxprgBrowse kbbuglist kbfixlist kbprg
Version : 2.50a | 2.50a
Platform : MS-DOS 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 14, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.