Click here to Skip to main content
15,884,176 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using Crystal reports 2008, where in I have the below string:
My name is Jill. I am from NY. I live in xyz street.


the above string should printed as:
My name is Jill.
I am from NY.
I live in xyz street.


Could you please help how can I achieve this by using HTML Text Interpretation under 'Paragraph' tab.

Its Urgent...Thanks!!
Posted
Comments
vani_ra 4-Apr-14 6:14am    
Can you help pls!

1 solution

 
Share this answer
 
Comments
vani_ra 4-Apr-14 7:20am    
the actual string is :


My name is Jill. I am from NY. I live in xyz street.
The above string is value of a table filed which is a description field.

requirement is ,we should print on the report as :

My name is Jill.
I am from NY.
I live in xyz street.
thatraja 4-Apr-14 7:42am    
I don't get it. Did you check those links in my answer?
vani_ra 7-Apr-14 7:34am    
hi, it didn't help. there is a database field(description filed) and its data value is
My name is Jill.(x no of spaces here)I am from NY.(y no of spaces here)I live in xyz street.

Now you should display this way on report:( a single row to multiple rows)
My name is Jill.
I am from NY.
I live in xyz street.
thatraja 7-Apr-14 8:09am    
0) You should convert those spaces into newline
OR
1) Split that field into multiple fields.

And you might want to check this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900