• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 400
  • Last Modified:

MSchart control shows blank when bound to recordset

I have a recordset that is loaded with two fields, and looks similar to the following

FIELD1             FIELD2
Jan 1,2004       33
Jan 2,2004       39
Jan 6,2004       93
Jan 9,2004       43
Jan 10,2004      13

I have verified that it returns these values

i set the chart to 2dline
and then set the datasource as the recordset

When i go to display, the debug data shows i am returning values, but i get nothing on the chart. There are no gridlines, no values etc. just a blank chart.

What am i doing wrong?

On a form i have CHART1 and am latebinding the recordset programmaticly
  • 2
2 Solutions
Shiju SasidharanAssoc Project ManagerCommented:
Can u place the code u r using ?

Yes, seeing code would be good
baudspeedAuthor Commented:
i figured it out. turns out that the first field which was a date needs to be cast as a varchar inorder to allow it to display
I would rather have this question deleted than get a C

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now