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!

Formatting Number formula using Crystal 10

Status
Not open for further replies.

Stewman

MIS
Jan 23, 2002
79
US
Hello,

I am using Crystal 10 and am creating a formula that combines a employee id with the first and last name. However, when I combine the employee id in it shows with a comma. I need the employee id to have no commas.

example of how it looks
111,111 John Doe

What I want:
111111 John Doe

Formula I am using:
{EMP.EMP_ID},0) & " " & " " & {EMP.FIRST} & " " &{EMP.LAST}

Returning:111,111 John Doe

How do I remove the comma?

Any help appreciated.

Thanks,
Chris
 
Ooops correction to my formula...I'm using this:

{EMP.EMP_ID} & " " & " " & {EMP.FIRST} & " " & {EMP.LAST}

Sorry about that.
 
try this:

totext({EMP.EMP_ID},0,"")&" "&" "&{EMP.FIRST}&" "&{EMP.LAST}

Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports

"If you have a big enough dictionary, just about everything is a word"
--Dave Barry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top