mcnewsxp said:
can i pass an array via openargs?
No. OpenArgs is a string valued argument.
However, you can concatenate your array's elements (with a
deliminator) in a string. If the array elements are
strings, you can use the Join function to do the whole array
in one shot. Then the report's open event can use the Split
function to recreate a duplicate array in the report's
module.
Personally, I think that's kind of the long way around and
would just make the array a Public declaration in a
standard, so the report can just use it where it is without
passing any of it in OpenArgs. Not a good practice, but a
lot easier.
OTOH, maybe you don't really need to use an array at all
(pretty unusual for a report). If you'll explain what the
report is trying to use the array for, maybe someone can
come up with an alternative approach.