Re: How to enter a line feed in a formula field
Hi, I´m not sure it will work but i try...
I was thinking and maybe you can separate the address by formulas in order to try the other sugestion.
You can know the size of the address string by "Length" function. It appears in the Strings' functions. Then if you know how many numbers have the fax and the telephone you substract the quantity and with te "Mid" function you can extract the information.
Obviously you have to do a formula for each elemento of the address.
I hope it helps you
Re: How to enter a line feed in a formula field
Quote:
Originally Posted by srinath_b
I am sorry to say but i tried using chr(13) in the formula editor but it doesn't works. when i check the formula it says string,numeric,currency or boolean required at the point where i have entered chr(13). Folllowing is the code entered in the formula editor.
"Tel No : " + {Supplier.TelNo} + chr(13) + " Fax No :" + {Supplier.Fax}
If chr(13) is accepted in the formula editor then there will be no problem. I can directly concatenate the database fields and where ever the field should be in the next line i can enter a line feed.
Help:confused: :confused:
Make sure you have Crystal Syntax turned on if you are using "+" to concatenate strings, otherwise you will need to use "&".