How To Databound Chart Control Requires First Column To Be Text (190214)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- ActiveX Data Objects (ADO) 1.5
- ActiveX Data Objects (ADO) 2.0
- ActiveX Data Objects (ADO) 2.1 SP2
- ActiveX Data Objects (ADO) 2.5
- ActiveX Data Objects (ADO) 2.6
- ActiveX Data Objects (ADO) 2.7
This article was previously published under Q190214 SUMMARY
When the Microsoft Chart Control 6.0 is databound using the ADO DataControl
or the Data Environment, the first column in the resulting recordset must
be of datatype Text (or a corresponding datatype based on the database in
use.) The Chart control attempts to plot the data in the first column if it
contains non-text values. The result of this can be a Chart that does not
plot at all, or a Chart that contains additional (and unwanted) plots. This
requirement is not discussed in the Visual Basic documentation.
Modification Type: | Minor | Last Reviewed: | 7/1/2004 |
---|
Keywords: | kbCtrl kbhowto KB190214 |
---|
|