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)