Jump to content
Software FX Community

Chart fx 98 & Active Reports


Recommended Posts

I am trying to use a Chartfx 98 chart on my Active Reports 2.0 report.  When

I use ChartFX1.GetExternalData I am getting an error saying that the

property is read only. Here is my code:

Dim CfxData As CFXDATALib.CfxDataAdo

'Execute SQL and obtain resultset

Set rs = objDB.RunSQL(Me.lblsql.Caption)

Set CfxData = New CFXDATALib.CfxDataAdo

CfxData.Resultset = rs

ChartFX1.GetExternalData CfxData 'error here

If I have the same code and a chart on a form it works fine. I remember

reading about a conflict between Active Reports and Chartfx but I can't find

a reference to it anywhere

Any Ideas?

TIA

Daniel Reber

Datamasters,Inc

Link to post
Share on other sites

no, that's not the problem.  I also cannot set the DataStyle property.  I

get the same error.

Any other ideas?

thanks

Daniel Reber

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:C08SmtWXBHA.2092@webserver1.softwarefx.com...

> Could it be that de data is locked by Active Reports ?

>

> Try passing a SQL statement that is completely independent from the

report.

>

> --

> FP

> Software FX, Inc.

>

>

Link to post
Share on other sites

I just tried the EXACT SAME CODE using Active Reports 1.0 and the chart

worked fine. Any Help from Softwarefx would be appreciated.

Daniel Reber

Datamasrters, Inc

"Daniel Reber" <dreber@dminconline.com> wrote in message

news:ttD2GJVXBHA.2752@webserver1.softwarefx.com...

> I am trying to use a Chartfx 98 chart on my Active Reports 2.0 report.

When

> I use ChartFX1.GetExternalData I am getting an error saying that the

> property is read only. Here is my code:

>

> Dim CfxData As CFXDATALib.CfxDataAdo

>

> 'Execute SQL and obtain resultset

>

> Set rs = objDB.RunSQL(Me.lblsql.Caption)

>

> Set CfxData = New CFXDATALib.CfxDataAdo

>

> CfxData.Resultset = rs

>

> ChartFX1.GetExternalData CfxData 'error here

>

> If I have the same code and a chart on a form it works fine. I remember

> reading about a conflict between Active Reports and Chartfx but I can't

find

> a reference to it anywhere

>

> Any Ideas?

>

> TIA

> Daniel Reber

> Datamasters,Inc

>

>

Link to post
Share on other sites

I am only trying to set DataStyle and execute the method GetExternalData and

I get the same error. See Attachment. Also, here is my reply to my

original post

I just tried the EXACT SAME CODE using Active Reports 1.0 and the chart

worked fine. Any Help from Softwarefx would be appreciated.

Thanks

Daniel Reber

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:XcA#j1WXBHA.1756@webserver1.softwarefx.com...

> Can you set any property in the chart ???

>

> How are you obtaining the pointer to ChartFX1 ?

>

> --

> FP

> Software FX, Inc.

>

>

Link to post
Share on other sites

Thanks,  I already have done that.  Let me know what you find out.  My

contact info is below.

****************************

Daniel Reber, MCP

Lead Product Architect

DataMasters, Inc

610.927.9342

www.dminconline.com

****************************

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:e8QAZqjXBHA.2752@webserver1.softwarefx.com...

> We will check it but it looks like the people from Active Reports should

be

> able to tell you what changed from version 1.0 that breaks it. Please

> contact them.

>

> We will see what can we do about it on our side as well.

>

> --

> FP

> Software FX, Inc.

>

>

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...