Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parameter Creation Crystal XI R2

Status
Not open for further replies.

pungigis

Programmer
Dec 5, 2007
71
US
I have a field type that contains the following

Eopgray
Eopgrays
Eopbgry

Etc… it is a (nchar(8), null), I am trying to create a parameter but its not working, I have tried several things and can't get it, any ideas???? When I do as is I get an array error.
 
Ok, got it to stop throwing the error by putting,
{?Company Name}[1] in {Transactions.CampaignName} HOWEVER not it takes FOREVER to run, is there a way to do this better and possibly speed up the performance???

 
Your formula is searching for the first letter of the parameter in any position of the campaignname. You might be better off using something like this:

{Transactions.CampaignName} like {?Company Name}+"*"

Instruct users to enter the first few letters of the name. If you don't have your report formatted to be case insensitive, then use a SQL expression {%Name} to make the CampaignName Upper Case:

{fn ucase(Transactions.CampaignName)}

...and then use this in the selection formula:

{%Name} like ucase({?Company Name})+"*"

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top