Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
Helllooo All,

First of all Happy new year to all.

My Question is that,
I have a problem with Crystal report.
When i render Crystal Report and my one of the field contains HTML string with TD,TR,TABLE html tag.
Due to this my result not getting proper formatting means crystal reports not support html td,tr,table tags any more.

tell me solution for above.
help me for the above.

thanks in advance.
Posted
Updated 1-Jan-13 22:09pm
v2

1 solution

crystal report does not support table,tr,td tags
tr (causes only a paragraph break; does not preserve column structure of a table)

you can see details for supported tags with description. in this link...
http://stackoverflow.com/questions/12791321/what-html-tags-are-supported-in-crystal-reports-2008[^]

Happy coding!
:)
 
Share this answer
 
Comments
prashant patil 4987 2-Jan-13 4:44am    
hello Aarti.
can you please tell me another way to do this.??
Aarti Meswania 2-Jan-13 4:52am    
it's not supported by crystal report

so, I think you should make a sql-table from HTML and then
use crosstab report to display it in a table form

for convert html table to sql table
visit
http://www.simple-talk.com/sql/learn-sql-server/how-to-import-data-from-html-pages/
see.. "Using a datatable" - second topic. you will get some hints
Aarti Meswania 2-Jan-13 8:05am    
visit for converting HTML to Sql table
http://www.codeproject.com/Tips/520119/HTML-Table-to-SQL-table-conversion

prashant patil 4987 2-Jan-13 22:20pm    
thanks for replying aarti.. but i want in crystal report only.
can you get some link of Html to PDF conversion..??
Aarti Meswania 2-Jan-13 23:41pm    
Welcome! :)
Glad to help you! :)

here it is...same topic for html->pdf
http://www.codeproject.com/Questions/192046/how-i-can-convert-html-to-pdf-by-net-code

In crystal report it's not possible to set html-table format
In my suggested sql you can create subreport or crosstab, as per my knowledge it will be easiest way :)

hope it help you!

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