Pass parameter to sql "in" clause

I'm using Fast Report community desktop app and I haven't been able to pass the parameter value to the following query:

The parameter is using @ because I'm connecting to mysql. The data type I'm using for @receivables query parameter is Varchar and the report parameter datatype is string. The value of the parameter I'm passing in is something similar to '1, 2, 3'.

Does anyone know how I can get this parameter working?


select * from receivables where id in(@receivables)


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.