PRB: VARREAD() and SYS(18) Do Not Work for BROWSE in DebugLast reviewed: May 6, 1996Article ID: Q115814 |
The information in this article applies to:
SYMPTOMSThe FoxPro documentation states that:
If a Browse, Change or Edit window is active, the name of the current field is returned with the first letter of the field name capitalized. VARREAD() is identical to SYS(18). Both can be used to pass the current field or control name to a procedure....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.
|
Additional reference words: FoxMac FoxDos FoxWin 2.00 2.50 2.50a 2.50b
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |