Microsoft KB Archive/124516

{| = FIX: Browse Fields Command Selects Unselected Work Area =
 * width="100%"|

ID: Q124516

2.60 MS-DOS kbusage kbfixlist kbbuglist

The information in this article applies to:


 * Microsoft FoxPro for MS-DOS, version 2.6

SYMPTOMS
Foxpro should not change work areas when executing a WHEN or VALID clause; the original work area should stay selected. However, if a field is included in a BROWSE FIELDS list from an open but unselected work area, and a :W (WHEN) or :V (VALID) clause is associated with that field, the work area of that field is selected when the :W or :V clause is executed.

STATUS
Microsoft has confirmed this to be a problem in Microsoft FoxPro version 2.6 for MS-DOS. This problem was corrected in Microsoft FoxPro version 2.6a for MS-DOS

Steps to Reproduce Problem
1. Select 1.

2. Use Customer.

3. Select 2.

4. Use Invoices.

5. Create a program called Test, and add this line to it:

WAIT WINDOW ALIAS 6. In the Command window, type: Select Customer 7. In the Command window, type: BROWSE FIELDS CUSTOMER.CNO,INOVICES.SALESMAN:W=Test,customer.address 8. Press the TAB key to move through the fields. When you get to the Salesman field, a Wait Window comes up that contains INVOICES when it  should contain CUSTOMER. Additional reference words: FoxDos 2.60 buglist2.60 fixlist2.60a KBCategory: kbusage kbfixlist kbbuglist KBSubcategory: FxotherGeneral Keywords         : FxotherGeneral kbbuglist kbfixlist Version          : 2.60 Platform         : MS-DOS Solution Type    : kbfix
 * }