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!

Striping Strings 1

Status
Not open for further replies.

ganjass

Technical User
Dec 30, 2003
154
GB
CR10
SQL2000

Hi all, i've got an issue when exporting to excel. When exporting certain fields, 2 boxes appear to the right of my fields. On further investigation the boxes are chrw(10). the problem i have is getting rid of them i've tried using replicate to change the chrw(10) to a space and split to get rid of them, but only one box dissapears, with the other still visable

Any ideas??

thanks in advance
 
Not sure why you'd get a chr(10).

Perhaps it's in the data, if so, replace the data field with the following Crystal formula:

replace({table.field},chr(10),"")

-k
 
I still have the problem of one of the chr(10) characters appearing to the right of the field, any ideas?
 
replace(replace({table.field},chr(10),""),chr(13),"") did the trick as the second character was a chr(13)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top