Quantcast
Channel: Crystal Reports
Viewing all articles
Browse latest Browse all 1507

Trouble with Single Quotes in Last Name

$
0
0

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.


Viewing all articles
Browse latest Browse all 1507

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>