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!

totext

Status
Not open for further replies.

codrutza

Technical User
Mar 31, 2002
357
IE
Hello

I work with CRXI
Could you help me with this:
I have the formula
if {@year rep}={?Year} then
"Total Month"+" -"+totext({@Month Print})+" "+TOTEXT({?Year},0)
ELSE TOTEXT({?Year}-1,0)
Which brings
… 2,010
… 2,009
The parameter {?@Year} is from the store procedure on sql server and I change the name in {?Year}.
(
I don't know if this helps, but when I print {?Year} it prints
2010
2009
!!!!!
when I print totext, it prints
2,010
2,009
)

I want to have the result
… 2010
… 2009
 
Thank you for the both replies.
I put a formula separated for year without totext, instead the parameter, and now I have 2 formulas (instead of concatenate them in a formula); I used some supress as well; I don't have the formulas with me, because they are at work.
 
if you wish you can try. Had the same issue with decimal points this morning.

Code:
replace(totext({?Year}),",","")

that should remove the comma
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top