Quantcast

RCom using VBscript GetSymbol Data Frame Return Value

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

RCom using VBscript GetSymbol Data Frame Return Value

littlelee
Hello
Just started using statconn RDCOM from:
http://www.sciviews.org/_rgui/projects/RDcom.html

with VBscript so I figure I should join Rcom-l to get some help.

Not sure if anyone out there have used VBscript with statconn RDCOM. I ran into some problems I need some help with and I can't see to understand or how to get proper results from the "GetSymbol" method/function.  I am trying to get a data frame by calling "GetSymbol" and it returns a Variant Array "variant()", but the array only gives me the results of the first row from the data frame.

For example:

Data Frame:
>Camp
     TimeStamp  Host   Average       Min     Max
1   2012-04-09 Host1  4.475000  1.200000 12.3000
2   2012-04-07 Host2 19.318182  5.600000 56.2000
3   2012-04-04 Host1 24.195455 10.400000 57.6000


VBScript Call:
Result = RDCOM.GetSymbol(""Camp"")
for each value in Result
 wscript.echo value
next

The "Result" is an array of the first row of "Camp" and I can't see to get further rows. Does anyone know why?

Thank you.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: RCom using VBscript GetSymbol Data Frame Return Value

Frosty99
Having the exact same issue. Did you ever find a solution?
Loading...