09-28-2011, 02:22 AM
've got two field from different modules to select when i want to select the second one it says: Index outside the bounds of an array
what can i do?
need help please
I've got a tree with options when you select the first item from the tree, some text fields appear and i can get info from them. But when i select the second option from the tree and another text fields appear, it says index outside the bounds of an array
hace 5 minutos
• Borrar
• Editar comentario Tienes 9 minutos
this is the code:
'Activates the the row o from a data table and the firt element of the tree
'Activates the second element of the tree
what can i do?
need help please
I've got a tree with options when you select the first item from the tree, some text fields appear and i can get info from them. But when i select the second option from the tree and another text fields appear, it says index outside the bounds of an array
hace 5 minutos
• Borrar
• Editar comentario Tienes 9 minutos
this is the code:
'Activates the the row o from a data table and the firt element of the tree
Code:
SwfWindow("CSI - Capacity Planning_2").SwfTable("processGrid").ActivateRow "0"
SwfWindow("CSI - Capacity Planning_2").SwfTable("processGrid").SelectRow "0"
SwfWindow("CSI - Capacity Planning_2").SwfTreeView("inputTreeView").Select(1)
'here is where i want to get the value of NAME and a getcelldata should be and works
SwfWindow("CSI - Capacity Planning_2").SwfTable("dataGrid").ActivateCell "0","NAME"
'Activates the second element of the tree
Code:
SwfWindow("CSI - Capacity Planning_2").SwfTable("processGrid").ActivateRow "2"
SwfWindow("CSI - Capacity Planning_2").SwfTable("processGrid").SelectRow "2"
SwfWindow("CSI - Capacity Planning_2").SwfTreeView("inputTreeView").Select(1)
'Here is where it does not recognize the text field and i cant use a getcelldata
SwfWindow("CSI - Capacity Planning_2").SwfTable("dataGrid").ActivateCell "1","EFFECTIVE_DATE"