Resumen Exportar un DataReport a html

Mensaje enviado por "YAMIL BRACHO" <brachoy@pdvsa.com> el 26/03/2002


Esto lo puedes hacer usando el metodo ExportReport

He aqui un extracto de los ejemplos del metodo que encontre en el MSDN

ExportReport Method Example

The first example uses the ExportReport method to display the Export dialog box. The second example exports the file without displaying the Export dialog box. The third example specifies an ExportFormat object to use when exporting the report.

Private Sub ExportTheReport()
   DataReport1.ExportReport , , True, True
End Sub

Private Sub ExportWithoutDialog()
   ' Export to a file named Output.htm, overwriting if needed.
   DataReport1.ExportReport rptKeyHTML, "C:\Temp\Output", True, False
End Sub

Private Sub ExportMyReport()
   ' Export to a file named Daily.htm using the MyReport ExportFormat.
   DataReport1.ExportReport "MyReport", "C:\Temp\Daily", True, False
End Sub

Una vez que ya tengas generado el archivo puedes usar el protocolo SMTP para enviar email a tu destinatario

Espero que esto te ayude y saludos,
Yamil



Resumen Resumen

Visual Basic Página de Visual Basic

Página principal Página principal

www.jrubi.com