PRB: Bound TextBox No Longer Populates During Form's Load Event (172100)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Control Creation Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
This article was previously published under Q172100 SYMPTOMS
When a form is run, a bound Text box comes up blank even though a value is
being stored to it's Text property in the Form's Load. In prior version of
Visual Basic, the Text box came up populated if done in this manner.
RESOLUTION
In the Form's Load, instead of:
Text1.Text = "This text should be in the text box."
use:
Data1.RecordSet("<field name>") = "Text to show."
STATUS
Microsoft is researching this problem and will post new information here in
the Microsoft Knowledge Base as it becomes available.
Modification Type: | Minor | Last Reviewed: | 1/8/2003 |
---|
Keywords: | kbprb KB172100 |
---|
|