Hi, I am using Crystal Reports 2008 with a SQL Command to Oracle. We are also using Business Objects with Clarity. I have the following SQL code that works well in the WHERE clause:
...AND UPPER((SELECT R4.FULL_NAME FROM NIKU.SRM_RESOURCES R4 WHERE R4.USER_ID = I.MANAGER_ID))LIKE REPLACE(UPPER('{?P_PM}%'),'*','%')
but when we enter a last name like O'Brian, it errors out. Is there some sort of replace function I need to use in conjunction with my existing replace to get this to work?
Help appreciated. Thanks.