My report is connected to a stored procedure. In Field Explorer there is an integer column which is not insert on the report but it is used as a query string parameter when a hyperlinked field is clicked on the report.
This integer field, RecNo, is coming to Field Explorer in the format: #,###. I don't want to use comma and want to use a number like: ####.
rpk2006
Member
631 Points
631 Posts
Numeric field appearing with comma in report even after custom formatting
Jan 12, 2012 10:55 AM|LINK
My report is connected to a stored procedure. In Field Explorer there is an integer column which is not insert on the report but it is used as a query string parameter when a hyperlinked field is clicked on the report.
This integer field, RecNo, is coming to Field Explorer in the format: #,###. I don't want to use comma and want to use a number like: ####.
How to truncate comma?
ssjGanesh
Participant
1970 Points
1395 Posts
Re: Numeric field appearing with comma in report even after custom formatting
Jan 12, 2012 12:21 PM|LINK
After u got like,
#,###
U just split them by ,(Delimiter) then it stored like,
arr[0]=#;
arr[1]=###;
Then u can concatenate like, arr[0]+arr[1]
it produce #####
Mark as answer,if it helped U!
rpk2006
Member
631 Points
631 Posts
Re: Numeric field appearing with comma in report even after custom formatting
Jan 13, 2012 03:31 AM|LINK
Is there any truncate option to replace comma with blank and than Trim the text?
ssjGanesh
Participant
1970 Points
1395 Posts
Re: Numeric field appearing with comma in report even after custom formatting
Jan 13, 2012 05:01 AM|LINK
As of my knowledge split() is a best way coz in future if u have the same problem with any other special characters like,
,,!,@,#,$,%,^.,<, u can use the same function to remove it,
Here is the Table valued function i have used.
<div> </div>Mark as answer,if it helped U!