We have a report that lists the number of users on a course and how many have completed the course.
This can be filtered by a custom user profile field, that shows the name of the location they work at.
%%FILTER_USERS:ad.data%%
The issue is with some of the values in this list, as the include '. Such as: St Mary's Catholic Primary School
The value in the select menu is Base64 encoded, but when decoded to add the value to the filter the ' isn't delimited. Causing a dmlreadexception error.
IE: AND ad.data LIKE '%St Mary's Catholic Primary School%'
How can we fix this? Or change the SQL code to get the posted value directly?
Any help would be greatly appreciated.
Thanks