chosensilver
Programmer
Hey all,
I have been trying to pass a string array to a datawindow for a couple of days now with no luck. In the data window report I have defined the retrieval argument as a string array. The datawindow has syntax as follows:
select ....
from...
where value in ls_array)
I have a program in powerbuilder that calls this datawindow and I have been trying to pass a list of values with no luck. I have tried passing a single string such as 'ABC', but I get an error that says "Retrieve Argument 1 does nto match expected type". i have tried creating a string array such as:
string ls_array[] = {'ABC', 'DEF'}
dw.Retrieve(ls_array)
But I get the same error message mentioned above. I am running PB 6.5 if that helps at all.
I have been trying to pass a string array to a datawindow for a couple of days now with no luck. In the data window report I have defined the retrieval argument as a string array. The datawindow has syntax as follows:
select ....
from...
where value in ls_array)
I have a program in powerbuilder that calls this datawindow and I have been trying to pass a list of values with no luck. I have tried passing a single string such as 'ABC', but I get an error that says "Retrieve Argument 1 does nto match expected type". i have tried creating a string array such as:
string ls_array[] = {'ABC', 'DEF'}
dw.Retrieve(ls_array)
But I get the same error message mentioned above. I am running PB 6.5 if that helps at all.