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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HOw to Trim parameter value

Status
Not open for further replies.

sregmi

Programmer
Oct 27, 2005
17
US
hi everyone,

Is there anyway I could trim the parameter value displayed. Here is the situation:
I am displaying the parameter values along with, "Filtered by" at the bottom of the report page using Layout expression of the Calculation. If I am filtering, let's say, by region: 'NorthTexas, ' and 'CentralTexas' I would like to have Just 'NorthTexas, CentralTexas'. Instead, it is printing 'NorthTexas , CentralTexas' or something like that.

Any help/suggestions/tips most appreciated!
(Substring won't help; rtrim does not seem to be helping either!)
 
Hi ChillAPAC,

I am in SQL Server 2000. Thanks for the response and sorry for not getting back right a way.

Regards.......SR
 
There should be a common functions folder with a trim function. The syntax is : trim(<value>)
 
Thanks to Chillapac and TataVixen,

I got it resolved by trimming the value at the report query itself.

Thanks to everyone trying to help me.

Regards.........SR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top