Microsoft KB Archive/107519: Difference between revisions
(importing KB archive) |
m (Text replacement - """ to """) |
||
Line 38: | Line 38: | ||
SELECT customer | SELECT customer | ||
SET RELATION TO cno INTO invoices | SET RELATION TO cno INTO invoices | ||
LOCATE FOR company = | LOCATE FOR company = "Atec" | ||
BROWSE LAST NOWAIT | BROWSE LAST NOWAIT | ||
SELECT invoices | SELECT invoices | ||
Line 44: | Line 44: | ||
ACTIVATE WINDOW customer | ACTIVATE WINDOW customer | ||
WAIT WINDOW | 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**** | ****End Program Example**** |
Latest revision as of 10:23, 20 July 2020
FIX: SET REFRESH Incorrectly Moves Pointer in Child BrowseID: Q107519 2.50a | 2.50a MS-DOS | WINDOWS kbprg kbfixlist kbbuglist The information in this article applies to:
SYMPTOMSIn 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. STATUSMicrosoft 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 INFORMATIONSteps to Reproduce Problem1. 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 |