Using TeeChart in a MS Access Report

TeeChart for ActiveX, COM and ASP
Post Reply
Chris L
Newbie
Newbie
Posts: 6
Joined: Fri Jan 16, 2004 5:00 am

Using TeeChart in a MS Access Report

Post by Chris L » Tue Mar 01, 2005 2:18 pm

Hi,

I'm using TeeChart for printing a Bubble Chart in a MS Access Form and Report. I'm using an ADO-Recordset, for example:

ado_conn.Open ...
rs.Open TabName, ado_conn ...
teeChart.Series(0).DataSource = rs
teeChart.Series(0).YValues.ValueSource = "Y"
teeChart.Series(0).XValues.ValueSource = "X"
teeChart.Series(0).LabelsSource = "Bezeichnung"
...
rs.Close
ado_conn.Close

This works fine in my form, but not in the report (Since I use MS Access 2003)
In my report I cannot open an ADO-Connection.

The table contains up to 600 records, which makes it not very comfortable to iterate the whole table and add each record manually by using the "addXY"-method.

Maybe you know a better way to get the data to the TeeChart in the Report.

Thanks,
Chris

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Wed Mar 09, 2005 11:06 am

Hi Chris,

how about exporting the Chart to an image, and then use this image in the Report ?

Post Reply