aduddella
16 years agoContributor
How to access a collection of array values in a class
Hi
I have a class with name LINE which has different properties such as for example CLI,DSL,STATUS
Now I have another class with name Current_CLI in whcih I have a property by name LINE which is a array type
my idea is to access [object_current_CLI].[Line](0).CLI and assign value to it
this is my code
cl_ob = .Classes.("Current_CLIS")
I have a class with name LINE which has different properties such as for example CLI,DSL,STATUS
Now I have another class with name Current_CLI in whcih I have a property by name LINE which is a array type
my idea is to access [object_current_CLI].[Line](0).CLI and assign value to it
this is my code
set cl_ob = ODT.Classes.new("Current_CLIS")
cl_ob = .Classes.("Current_CLIS")
cli_ob.Line(k).CLI = P_obj.rows.item(k).cells(1).innertext
but the above code throws an error could you please help me as i am stuck here