<p>I've been able to figure out how to pass a resultset to a report through code in the viewer. Now what I need to do is pass a sql statement into the viewer page in order to build the resultset. The sql statement will change depending on user selections from a previous page. One of the selections will result in a string of customer ids that may be as many as 800 values.</p><p>Thanks.</p>