HOLA BUEN DÍA
PODRÍAN ORIENTARME PARA, DESDE FAST REPORT EXPORTAR EL REPORTE A EXCEL
TENGO ENTENDIDO QUE ES UN " TO EXCEL " PERO NO ENCUENTRO LA SINTAXIS COMPLETA DEL COMANDO
GRACIAS
DANIEL PECHIR
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
TO EXCEL
-
- Mensajes: 197
- Registrado: Vie Mar 15, 2013 12:32 am
- ignacio
- Site Admin
- Mensajes: 9440
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Re: TO EXCEL
Échele un vistazo al método TFastReport:DoExport.
Saludos
Saludos
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
-
- Mensajes: 197
- Registrado: Vie Mar 15, 2013 12:32 am
Re: TO EXCEL
HOLA IGNACIO
GRACIAS POR SU APOYO
EL CODIGO SIGUIENTE MARCA ERROR
WITH OBJECT oFRcat:= TFastReport():New()
:cDllPath := "\DapeBaseSQL"
:cFRLicense := "xxxxxxx"
:cXALicense := "xxxxxxx"
:Create()
:cLanguage := "Spanish"
:AddDataSet( "DATA", ::oConsu )
:cFileName := '\Reportes\HistVenta.fr3'
:ShowReport()
:DoExport(XLSEXPORT)
:End()
END
ERROR : Variable No existe XLSEXPORT
SALUDOS
GRACIAS POR SU APOYO
EL CODIGO SIGUIENTE MARCA ERROR
WITH OBJECT oFRcat:= TFastReport():New()
:cDllPath := "\DapeBaseSQL"
:cFRLicense := "xxxxxxx"
:cXALicense := "xxxxxxx"
:Create()
:cLanguage := "Spanish"
:AddDataSet( "DATA", ::oConsu )
:cFileName := '\Reportes\HistVenta.fr3'
:ShowReport()
:DoExport(XLSEXPORT)
:End()
END
ERROR : Variable No existe XLSEXPORT
SALUDOS
-
- Mensajes: 197
- Registrado: Vie Mar 15, 2013 12:32 am
Re: TO EXCEL
Con este código funcionó
WITH OBJECT oFRcat := TFastReport():New()
:cDllPath := "\DapeBaseSQL"
:cFRLicense := "xxxx"
:cXALicense := "xxxx"
:Create()
:cLanguage := "Spanish"
:AddDataSet( "DATA", ::oConsu )
:cFileName := '\Reportes\HistVenta.fr3'
:ShowReport()
:DoExport( "XMLEXPORT", "\Escritorio\HistVenta.xlsx" )
:End()
END
Muchas gracias
Daniel Pechir
WITH OBJECT oFRcat := TFastReport():New()
:cDllPath := "\DapeBaseSQL"
:cFRLicense := "xxxx"
:cXALicense := "xxxx"
:Create()
:cLanguage := "Spanish"
:AddDataSet( "DATA", ::oConsu )
:cFileName := '\Reportes\HistVenta.fr3'
:ShowReport()
:DoExport( "XMLEXPORT", "\Escritorio\HistVenta.xlsx" )
:End()
END
Muchas gracias
Daniel Pechir