Hi all...... I have been reading many many posts on this question, but I still can't get mine to work... it should be simple but I am trying many ways and not getting anywhere. I am using Crystal XI
I created a paramater called {?BuildingName} and I want the user to ENTER text rather than select from a drop down of attributes. But I want the text that is entered to find the Buidling Name from the BL_Name field that is "like" what they enter......... so, my parameter is static, and I enter no values... and I allow multiple values....... then in the select statement, I have tried:
BL_Name like {?BuildingName}
But this only works if the user enters the '*' themselves in the parameter........ I don't want the user to have to enter this....... so I have tried:
BL_Name like "*"+{?BuildingName}+"*"
(which just gives me ALL data)
and I tried:
BL_Name} like "*{?BuildingName}*"
(which gives me no data)
and I have been trying a combination of things like this but nothing seems to work....
Help?
Thanks!
I created a paramater called {?BuildingName} and I want the user to ENTER text rather than select from a drop down of attributes. But I want the text that is entered to find the Buidling Name from the BL_Name field that is "like" what they enter......... so, my parameter is static, and I enter no values... and I allow multiple values....... then in the select statement, I have tried:
BL_Name like {?BuildingName}
But this only works if the user enters the '*' themselves in the parameter........ I don't want the user to have to enter this....... so I have tried:
BL_Name like "*"+{?BuildingName}+"*"
(which just gives me ALL data)
and I tried:
BL_Name} like "*{?BuildingName}*"
(which gives me no data)
and I have been trying a combination of things like this but nothing seems to work....
Help?
Thanks!