User (Legacy) Posted October 25, 2001 Report Share Posted October 25, 2001 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 comment Share on other sites More sharing options...
Software FX Posted October 25, 2001 Report Share Posted October 25, 2001 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 comment Share on other sites More sharing options...
User (Legacy) Posted October 25, 2001 Author Report Share Posted October 25, 2001 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 comment Share on other sites More sharing options...
Software FX Posted October 25, 2001 Report Share Posted October 25, 2001 Can you set any property in the chart ??? How are you obtaining the pointer to ChartFX1 ? -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
User (Legacy) Posted October 25, 2001 Author Report Share Posted October 25, 2001 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 comment Share on other sites More sharing options...
User (Legacy) Posted October 25, 2001 Author Report Share Posted October 25, 2001 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 comment Share on other sites More sharing options...
Software FX Posted October 26, 2001 Report Share Posted October 26, 2001 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 comment Share on other sites More sharing options...
User (Legacy) Posted October 26, 2001 Author Report Share Posted October 26, 2001 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 comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.