Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: Selection criteria slowness Post Reply Post New Topic
Author Message
VStevens
Newbie
Newbie


Joined: 24 Dec 2008
Online Status: Offline
Posts: 12
Quote VStevens Replybullet Topic: Selection criteria slowness
    Posted: 02 Dec 2010 at 5:42am

The report has one Parameter field, which allows the user to search the database.  In an effort to make my report more user friendly, I want to allow the search criteria to not be case sensitive.  Listed is what I have in my selection formula:

uppercase({STAT.NAM}) like "*"+uppercase({?Name})+"*"

where {STAT.NAM} is the field name in the database and {?Name} is the parameter field that the user enters

My report displays the correct data, but is extremely, extremely slow.  When I remove the "uppercase" function, it runs very fast, which is the outcome that I want.  Can anyone tell me how to solve this problem?  Thanks in advance. 

 
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 02 Dec 2010 at 8:05am
maybe :
{?Name} in {STAT.NAM}
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.