Hi
I'm having some problems (applies to version 9 and 10)
I have a parameter {?types} and want it to be multiple distinct values.
In the Select Expert I specify:
{tablename.field} LIKE {?types}+'*'
If I specify MS and BC as values for the {?types}, I want it to return all records where {tablename.field} starts with ms or starts with bc. Only it effectively returns all records for any value of {tablename.field}
Looking at the 'Show SQL Query' then Where part is:
("tablename"."field" LIKE N'%' OR
"tablename"."field" LIKE N'ms'OR
"tablename"."field" LIKE N'bc')
I'm trying to get it like:
("tablename"."field" LIKE N'ms%' OR
"tablename"."field" LIKE N'bc%')
Any suggestions?
I'm having some problems (applies to version 9 and 10)
I have a parameter {?types} and want it to be multiple distinct values.
In the Select Expert I specify:
{tablename.field} LIKE {?types}+'*'
If I specify MS and BC as values for the {?types}, I want it to return all records where {tablename.field} starts with ms or starts with bc. Only it effectively returns all records for any value of {tablename.field}
Looking at the 'Show SQL Query' then Where part is:
("tablename"."field" LIKE N'%' OR
"tablename"."field" LIKE N'ms'OR
"tablename"."field" LIKE N'bc')
I'm trying to get it like:
("tablename"."field" LIKE N'ms%' OR
"tablename"."field" LIKE N'bc%')
Any suggestions?