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

Number format in Crystal

Status
Not open for further replies.

dannyb29

Technical User
Nov 10, 2010
90
GB
Hi All,
Is there a formula i can use to change the format of a product code (number) Example

From: 2,100.00
To: 2100

For some reason who ever created the database did not do this from the out set.

Many Thanks
 
Right click on the field->format field->number and select the desired format.

Or, if you are using the field in a formula, you can convert it to a string and change the format like this:

totext({table.productcode},0,"")

-LB
 
Thank you, LB. The formula works fantastically!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top