PRB: VARREAD() and SYS(18) Do Not Work for BROWSE in DebugID: Q115814 2.50 2.50a 2.50b | 2.00 2.50 2.50a 2.50b | 2.50b kbprg kbprb
The information in this article applies to:
SYMPTOMSThe FoxPro documentation states that:
When you work with GET objects, issuing VARREAD() or SYS(18) in the left
side of the Debug window displays the name of the current field.
However, in a browse, VARREAD() and SYS(18) are not updated in the Debug window as you move from one field to the next.
CAUSEAs the documentation states, VARREAD() and SYS(18) pass the current field's name to a procedure. Moving from field to field in the Browse window does not execute a procedure that would return the value in VARREAD() or SYS(18) to the Debug window.
MORE INFORMATION
Steps to Reproduce BehaviorAs the documentation states, both VARREAD() and SYS(18) return the name of the current field in a Browse. The following steps demonstrate this behavior. 1. Assuming you have installed the tutorial files and that your main FoxPro 2. Move from field to field and press the F8 key to see the value returned
3. Activate the Debug window by issuing the following command in the
4. Go back to the Browse window and move from field to field.
5. As you move from field to field in the Browse window, press the F8 key.
The field's name is displayed in this case because WAIT WINDOW is a
procedure that is executed when you press the F8 key. The value returned by
VARREAD() and SYS(18) is passed to the procedure and made available to the
Debug window.
Additional reference words: FoxMac FoxDos FoxWin 2.00 2.50 2.50a 2.50b KBCategory: kbprg kbprb KBSubcategory: FxtoolDebug
|
|
Last Reviewed: May 7, 1996 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |