ASE Home Page Products Download Purchase Support About ASE
ChartDirector General
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Error converting argument 1 to type class DoubleArray
Posted by cast on Mar-09-2009 19:09
Hi
I'm having trouble with "Error converting argument 1 to type class DoubleArray " in vb-script.

I understand that it is a text vs number issue but it just wont work.

I have a session who look like this.
Session("apa") = "3.00,3.00,3.00,3.00,3.00,3.00,3.39"

I've tired this
data = Array(Session("apa"))

and this

nisse = split(Session("apa"),",")
data = Array(nisse)

and i have also tried this

nisse = split(Session("apa"),",")
for x = 0 to ubound(nisse)
nsse(x) = int(nisse(x))
Next
data = Array(nisse)

But nothing works except this

data = Array(3.00,3.00,3.00,3.00,3.00,3.00,3.39)

It it possible to do (something) like this - in vbscript/asp - or must I use 1 session per number I want to display?

/Cast

  Re: Error converting argument 1 to type class DoubleArray
Posted by cast on Mar-09-2009 21:07
Oups wrong forum
Sorry
Please move to "ChartDirector Support "

  Re: Error converting argument 1 to type class DoubleArray
Posted by cast on Mar-09-2009 22:43
Just solved it!
Modified the "Pass Data as HTTP Query Parameters" example from the documentation and it worked!!!
/cast