Roadkill150
Programmer
Ok.. my issue is that i need to pass multiple variables to a subreport for selection purposes. here is my example
in the main report we have in the selection criteria: {cust.Lastname} in ["smith","johnson","jobob","etc"]
I need to pass the variables smith johnson jobob etc to the subreport. Shared variables only let me pass a single value between the two. The key here is that I may need to change the number of variables in the main report and need the subreports to reflect those changes. I initially thought of using strtok to pass a string in then separate it out, but strtok requires you to know how many ,'s you are using.
So.. how do i get all my variables to pass dynamically to the subreports?
in the main report we have in the selection criteria: {cust.Lastname} in ["smith","johnson","jobob","etc"]
I need to pass the variables smith johnson jobob etc to the subreport. Shared variables only let me pass a single value between the two. The key here is that I may need to change the number of variables in the main report and need the subreports to reflect those changes. I initially thought of using strtok to pass a string in then separate it out, but strtok requires you to know how many ,'s you are using.
So.. how do i get all my variables to pass dynamically to the subreports?