FIX: Programmatic Change in Grid Does Not Update ControlSourceLast reviewed: October 29, 1997Article ID: Q139865 |
3.00 5.00
WINDOWS
kbprg kbbuglist kbfixlist
The information in this article applies to:
SYMPTOMSWhen trying programmatically to change the value in a text box that is contained in a grid, you discover that the underlying data is not updated.
WORKAROUNDTo work around the problem, use a REPLACE statement to change the underlying data, and use the REFRESH method to update the grid.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem has been fixed in Visual FoxPro 5.0 for Windows.
MORE INFORMATION
Steps to Reproduce Problem
REPLACE (thisform.grid1.column2.text1.controlsource) WITH 'Hello World' thisform.grid1.refresh |
KBCategory: kbprg kbbuglist kbfixlist kbcode
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |