Microsoft KB Archive/130347

= PRB: Bound Control Does Not Show Current Record Value =

Article ID: 130347

Article Last Modified on 2/11/2000

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition

-



This article was previously published under Q130347



SYMPTOMS
If the record pointer is moved, the value property of a bound control does not appear to update properly.



CAUSE
The value property of a bound control is not refreshed automatically.



RESOLUTION
To refresh a bound control, issue thisform.refresh or trigger the gotfocus method.



STATUS
This behavior is by design.



Steps to Reproduce Problem
 Create a new form. Add a textbox object as txtget1. Set the controlsource of the txtget1 to customer.company. Add a commandbutton object as cmdskip.  In the click method of cmdskip, type: SKIP </li> Save the Form.</li>  In the Debug Window, type: _screen.activeform.txtget1.value </li>  In the Command window, type: USE customer DO FORM </li> Click the cmdskip button to see that the the value of txtget1 does not change in the Debug Window. Note that the value changes if you click in the txtget1 textbox or if you add thisform.refresh to the click method of cmdskip after the SKIP command.</li></ol>

Additional query words: VFoxWin

Keywords: KB130347

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.