DOCUMENT:Q107519  23-NOV-1993  [B_DFOXPRO]
TITLE   :PRFOX: SET REFRESH Incorrectly Moves Pointer in Child Browse
PRODUCT :FoxPro For MS-DOS
PROD/VER:2.50a  | 2.50a
OPER/SYS:MS-DOS | WINDOWS
KEYWORDS:buglist2.50a fixlist2.50b

--------------------------------------------------------------------
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.

RESOLUTION
==========

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: 2.50 fixlist2.50b

=============================================================================

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.

Copyright Microsoft Corporation 1993.