BUG: Unbinding Grid with SetAll Method Still Displays DataLast reviewed: May 5, 1997Article ID: Q134707 |
The information in this article applies to:
SYMPTOMSAfter executing the following command to unbind the grid columns from their sources of data, Visual FoxPro still shows data in a grid cell if that cell is clicked:
<form name>.<grid name>.SetAll("ControlSource","","Column") CAUSEThe text box (the default control) in the grid columns is caching the last value it knew about.
WORKAROUNDIn addition to setting the data source to nothing, you need to set the Value property of the text boxes for the grid columns to nothing ("").
<form name>.<grid name>.SetAll("Value","","TextBox") STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONSimilar problems are encountered with other controls, such as edit boxes, that are set as the CurrentControl for a grid column.
Steps to Reproduce ProblemNOTE: The following steps assume a working knowledge of the Visual FoxPro Form Designer. See Chapter 9 of the Microsoft Visual FoxPro "Developer's Guide" for more information on working with the Form Designer.
|
Keywords : buglist3.00 buglist3.00b buglist5.00 FxprgGrid VFoxWin vfpbug5.0a kbbuglist
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |