02-17-2011, 07:47 PM
Ok Here's my problem, I declared a public dynamtic array in Action1 and redim it to the size i wanted it later in the list, now I want to use that same array in action2, but how do I tap into the data from the array in another Action.
Code looks like this something like this
Public ABC(), EFG() ''Declared my Array public
''''''QTP Code finds out size ABC needs to be by how many total names are listed this week and what size EFG needs to be by how many new names are listed this week
REDIM ABC(a), EFG(b) '''Redefine the size so I dont have to waste space""
''''Code values to each place in array"
The problem is here!
I start writing a new script named Action2 and I've connected the two scripts together, but when I run the scripts I'm unable to get my results from my array's? Can any one help?
Code looks like this something like this
Public ABC(), EFG() ''Declared my Array public
''''''QTP Code finds out size ABC needs to be by how many total names are listed this week and what size EFG needs to be by how many new names are listed this week
REDIM ABC(a), EFG(b) '''Redefine the size so I dont have to waste space""
''''Code values to each place in array"
The problem is here!
I start writing a new script named Action2 and I've connected the two scripts together, but when I run the scripts I'm unable to get my results from my array's? Can any one help?