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

formating field in text object

Status
Not open for further replies.

Zbob

MIS
Apr 25, 2002
94
US
I have an PO number formatted X,XXX.XX (4 digits)

I am trying to put a text object together PO-XXXX-Line number

"PO-"&{PONUM}&"-"&{line num}=
PO-3,526.00-line number

Any help would be appreciated

Thanks
 
Try this:

totext({PNUM},0,"")

0 being the number of decimal places to display and "" being the thousands separator. Software Support for Macola, Crystal Reports and Goldmine
dgilsdorf@mchsi.com
 
Thanks

that worked.

Any ideas how to change the format of a date in the same situation.

"Prior to-"&{date} = Prior to- 01/01/2001
want Prior to - 01/01/01
 
Try this:
Left(totext({Date}),6)&right(totext({date}),2) Software Support for Macola, Crystal Reports and Goldmine
dgilsdorf@mchsi.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top