Case-Insensitive in Crystal Reports 4.6.1 LIKE Formula

I have a question about Case-Insensitive in Crystal Reports 4.6.1

1) What i've got
--> in database:
      I'v got table PERSONS with field LASTNAME and two records:
      SMITH
      JACKSON

--> In CR report
      I'v got selected option: Case-Insensitive SQL data

2) What I want to do:

I want to use LIKE formula with more than one values.

3) What I've done since now.

a) {PERSONS.LASTNAME} Like "smith" OR {PERSONS.LASTNAME} Like "jackson"
      
      RESULT: ONE RECORD.
            ERROR !! ONLY smith's record appears.

      NOTE: When CR open this with record select button on toolbar, and then click OK the formula change to:
      {PERSONS.LASTNAME} Like ["smith","jackson"]
      but this is not working correctly, see point e)

b) {PERSONS.LASTNAME} Like "smith"

      RESULT: ONE RECORD.
            everything is OK BUT ONLY FOR ONE RECORD !!

c) {PERSONS.LASTNAME} Like ["SMITH"]

      RESULT: ONE RECORD.
            everything is OK BUT ONLY FOR UPPER CASE  !!

d) {PERSONS.LASTNAME} Like ["smith"]

      RESULT: NOTHING !!!!

e) {PERSONS.LASTNAME} Like ["smith","jackson"]

      RESULT: NOTHING !!!!
      
4) HELP !! HELP !! HELP !! HELP !! HELP !! HELP !!
      
!! I need such formula which gives me two records for two values !!!
lizerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

TimCotteeHead of Software ServicesCommented:
A simple solution, albeit not really answering WHY it doesn't work is to use
LowerCase ({PERSONS.LASTNAME})Like ["smith*","jackson*"]
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tkuppinenCommented:
Have you tried using "select * from table where lowercase(persons.lastname) like "smith*" or "jackson*"
0
TimCotteeHead of Software ServicesCommented:
Is there an echo ?
0
tkuppinenCommented:
No echo, I got puled away while typing my response so I did not see your answer.  But hey that echo comment is pretty funny.  
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.