In one app, I build a list of variables, that I insert into an array, say {pr[0]}. I am using an array since the number of variables is unknown.
I then want to use the sc macro, to add additional conditions to an SQL search, using these values. Example:
where… prod = {pr[0]} or prod = {pr[1]} or prod = {pr[2]} …
The problem I encounter is that the SQL statement will not allow array values. Standard variables will not do the job, since I don’t know in advance how many I have.
Anyone have ideas?
L