Hi!
About aMembers, in help file I read following:
oObjectName
Specifies the object whose member properties are placed in the variable array specified with ArrayName. oObjectName can be
any expression that evaluates to an object, such as an object reference, an object variable, or an object array element.
So, it should be not an object name, but just an object reference.
I'm glad passing data as properties of Java Scrip object solved the problem.
>> Java Script, better use aMembers() function.
>
>I tried the aMembers() function to no avail. aMembers() wants the name of the object (I could only get the object reference itself).
>
>> For example, in Java Script, you can add property to object just by
>> assigning value to it:
>>
>>// This is a Java Script code
>>var rr = new Object;
>>rr.p1 = "Value1"
>
>This worked perfectly!!!
>
>My problem is solved!!!
>
>Thanks!!
>
>Hugh
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.