Jump to content
Software FX Community

error 80004005 - SOS


Software FX

Recommended Posts

Hi everyone...

I am Clement, a Web Developer from India using this ChartFX component for

the first time.I am facing a problem...

I retrieved three field names from table into a record set and tried to plot

the first field value as the X-axis Legend .I tried to plot the other two

set of field values in the X and Y axis respectively. I couldnt find any

sample code for that initially. After a lot of searching in the chartFX site

I got a sample code from the site (http://support.softwarefx.com/cfxie/)

which is as follows

X = 0

ChartFX1.OpenDataEx COD_VALUES, varSeries, COD_UNKNOWN

Do Until RS.EOF

ChartFX1.Legend(X) = RS.Fields(Field1).Value'Field1 indicating a string

field for the x-axis labels

ChartFX1.ValueEx(0,X) = RS.Fields(Field2).Value

ChartFX1.ValueEx(1,X) = RS.Fields(Field3).Value

ChartFX1.ValueEx(2,X) = RS.Fields(Field4).Value

RS.MoveNext

X = X + 1

Loop

ChartFX1.CloseData COD_VALUES

I tried to implement this in my code only to get the following error...

error '80004005'

Unspecified error

Does anyone know why this happens...If anyone has solved this problem please

revert ASAP .

Thank you everybody and Good luck ! :)

With warm regards

Clement

P.S : I tried sendng this query to your newsgroup but couldnt do so because

of some configuration problems..Pls post this query in your newgroup if

possible

_________________________________________________

Clement Daniels

Technical Web Architect

neoIT

Link to comment
Share on other sites

Are you including our INC file in your ASP (where constants such as

COD_VALUES are defined) ?

You may also want to try replacing COD_UNKNOWN with 1

--

Regards

JC

Software FX Support

"Justin" <support@softwarefx.com> wrote in message

news:yaBfKBpoBHA.1272@webserver1.softwarefx.com...

> Hi everyone...

>

> I am Clement, a Web Developer from India using this ChartFX component for

> the first time.I am facing a problem...

>

> I retrieved three field names from table into a record set and tried to

plot

> the first field value as the X-axis Legend .I tried to plot the other two

> set of field values in the X and Y axis respectively. I couldnt find any

> sample code for that initially. After a lot of searching in the chartFX

site

> I got a sample code from the site (http://support.softwarefx.com/cfxie/)

> which is as follows

>

> X = 0

> ChartFX1.OpenDataEx COD_VALUES, varSeries, COD_UNKNOWN

> Do Until RS.EOF

> ChartFX1.Legend(X) = RS.Fields(Field1).Value'Field1 indicating a string

> field for the x-axis labels

> ChartFX1.ValueEx(0,X) = RS.Fields(Field2).Value

> ChartFX1.ValueEx(1,X) = RS.Fields(Field3).Value

> ChartFX1.ValueEx(2,X) = RS.Fields(Field4).Value

> RS.MoveNext

> X = X + 1

> Loop

> ChartFX1.CloseData COD_VALUES

>

> I tried to implement this in my code only to get the following error...

>

> error '80004005'

> Unspecified error

>

>

>

> Does anyone know why this happens...If anyone has solved this problem

please

> revert ASAP .

>

> Thank you everybody and Good luck ! :)

>

> With warm regards

>

> Clement

>

> P.S : I tried sendng this query to your newsgroup but couldnt do so

because

> of some configuration problems..Pls post this query in your newgroup if

> possible

>

> _________________________________________________

> Clement Daniels

> Technical Web Architect

>

> neoIT

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...