FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
#1
|
|||
|
|||
como exporto un reporte a HTML
Hola amigos, necesito exportas unos reportes a format HTML estoy usando actualmente el QuickReport 3 para delphi 7, y cuando uso el jemplo este me da problemas de compilacion.
procedure exportarToHtml begin var aHTMLFilt : TQRHTMLDocumentFilter; begin table1.open; aHTMLFilt := TQRHTMLDocumentFilter.Create('Report.html'); ahtmlfilt.SetHTMLBody( clAqua, 'web pics\pine.gif', 'alink=”red”' ); aHTMLFilt.TransparentTextBG := true; aHTMLFilt.PictureDir := 'Web pics'; aHTMLFilt.MultiPage := true; aHTMLFilt.PageLinks := false; Form2.QuickRep1.ExportToFilter( aHTMLFilt ); table1.close; aHTMLFilt.free; end; y me dice que no sabe quien el TQRHTMLDocumentFilter; y voy inserto en la paleta de Qreport el componente QRHTMLFilter per cuando ejecuto me dice errores de comilacion como que no puede crear el reporte report.html ya que hay incompatibilidad de Tcomponente y Tstring, etc etc alquine ha exportado reportes a ficheros HTML. alquien me podra ayudar en eso, gracias. saludos TOMAS |
|
|
|