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

Formula fields in crystal report.

Status
Not open for further replies.

nghiemTran

Programmer
Mar 3, 2010
4
US
table.string contain of 00012345 and 12345-ABC
to use lbass's code the following:
if isnumeric({table.string}) then
totext(tonumber({table.string}),0) else
{table.string}
The results showing 12,345 and 12345-ABC.
How to format not to show the comma on the result
of 12,345.
I would like to see 12345 and 12345-ABC.
Please help, really appreciate all your help.

Thanks, Nghiem
 
if isnumeric({table.string}) then
totext(tonumber({table.string}),0[red],""[/red]) else
{table.string}

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top