INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Case Insensitive Not working CR 2008

Case Insensitive Not working CR 2008

(OP)
Has anyone had issues with Crystal Reports and Trackwise database? I have "Database server is case-insensitive" checked off and it's still not working. For my parameter, if the user enters "LAV", I want "LAV, lav, LAv" all returned. But it's only returning exactly what the user types. Also, if in the parameter it's "LaV" it only returns "LaV". I have no formulas either. This is in my select expert {BAX_MV_GEMS_LOT_DISPO_RPT.LOT_NUMBER} like {?Lot Number} (because they also want to use a wildcard). even if I change it to {BAX_MV_GEMS_LOT_DISPO_RPT.LOT_NUMBER} = {?Lot Number}, still no luck. When trying uppercase({BAX_MV_GEMS_LOT_DISPO_RPT.LOT_NUMBER}) = {?Lot Number} it just does a complete table scan. Ideas?

RE: Case Insensitive Not working CR 2008

Try creating a SQL expression using whatever the upper case function is for your database. Then set that expression to the parameter, like this:

{%ucasemyfield}=uppercase({?Lot Number})

The SQL expression will allow the conversation to happen at the database level instead of locally, so should be faster. Adding the ucase around the field and the parameter means it won't matter what case the user uses.

-LB

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close