Passing list as a parameter

Hi,

I cant pass parameters to the report . My data source in Fast reports is like this"

'select value from orders where order in (@parameter)'

In VS I have the code:

 rp.SetParameterValue("dt", "'Order1','Order2'");

And report is empty.

Everything works fine, if I use only one order as parameter, like this  rp.SetParameterValue("dt", " 'Order2' ");


It's like FR has some issues with SQL "in" .

Do you have any ideas how to fix it ?

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.