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!

Formatting the return value 1

Status
Not open for further replies.

pdbowling

Programmer
Mar 28, 2003
267
US
Hello all,
I have a Work Order number being pulled into a Crystal Report. It is placed into a Bar Code font field. I need the Work Order number to have an asterisk before and after it in order to be read by the hand scanner. How to I format the field so that it automatically includes the asterisks.

ex.
*1111111*

Thanks everyone
PB
 
Is this a number field or a string field?

If this is a string field, just write a formula:

+"*"+{YourStringField}+"*"

If it is a number it is a little tougher:

+"*"+totext({YourNumberField},0,"")+"*"

Software Sales, Training, Implementation and Support for Exact Macola, eSynergy, and Crystal Reports
dgilsdorf@trianglepartners.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top