How To Change Databindings on the Fly (189852)
The information in this article applies to:
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q189852 SUMMARY
Changing data bindings for a textbox requires changing the DataSource and
the the DataField. Set the DataField property of the textbox to Empty prior
to resetting the DataSource and the DataField. If this is not done you will
encounter the following error.
"Run time Error 545
Unable to bind to field DataMember: 'fieldname'"
REFERENCES
In the MSDN, select Visual Basic Documentation, and query on "data binding"
Modification Type: | Minor | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbhowto KB189852 |
---|
|