FIX: SET REFRESH Incorrectly Moves Pointer in Child Browse

ID: Q107519

2.50a | 2.50a MS-DOS | WINDOWS kbprg kbfixlist kbbuglist

The information in this article applies to:

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
Version           : 2.50a | 2.50a
Platform          : MS-DOS WINDOWS
Solution Type     : kbfix

Last Reviewed: October 16, 1997