Is it possible to include the crystal report .rpt file in the resource
directory?
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.
treport and crystal report
-
- Mensajes: 44
- Registrado: Dom Abr 19, 2009 10:01 am
- ignacio
- Site Admin
- Mensajes: 9469
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
treport and crystal report
Ron,
You can include the complete RPT file as RCDATA in your resource file. If
that is what you are asking for.
MYREPORT RCDATA "Report.rpt"
And in your code to retrieve it:
IF ( hRes := FindResource( 0, "MYREPORT", RT_RCDATA ) ) != 0
cReportData := LoadResource( 0, hRes )
ENDI
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Ron Broere" <ronbroere@bbkm.nl> escribió en el mensaje
news:[email=497e18fe@svctag-j7w3v3j....]497e18fe@svctag-j7w3v3j....[/email]
> Is it possible to include the crystal report .rpt file in the resource
> directory?
>
>
You can include the complete RPT file as RCDATA in your resource file. If
that is what you are asking for.
MYREPORT RCDATA "Report.rpt"
And in your code to retrieve it:
IF ( hRes := FindResource( 0, "MYREPORT", RT_RCDATA ) ) != 0
cReportData := LoadResource( 0, hRes )
ENDI
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Ron Broere" <ronbroere@bbkm.nl> escribió en el mensaje
news:[email=497e18fe@svctag-j7w3v3j....]497e18fe@svctag-j7w3v3j....[/email]
> Is it possible to include the crystal report .rpt file in the resource
> directory?
>
>
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
- ignacio
- Site Admin
- Mensajes: 9469
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
treport and crystal report
Ron,
You can include the complete RPT file as RCDATA in your resource file. If
that is what you are asking for.
MYREPORT RCDATA "Report.rpt"
And in your code to retrieve it:
IF ( hRes := FindResource( 0, "MYREPORT", RT_RCDATA ) ) != 0
cReportData := LoadResource( 0, hRes )
ENDI
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Ron Broere" <ronbroere@bbkm.nl> escribió en el mensaje
news:[email=497e18fe@svctag-j7w3v3j....]497e18fe@svctag-j7w3v3j....[/email]
> Is it possible to include the crystal report .rpt file in the resource
> directory?
>
>
You can include the complete RPT file as RCDATA in your resource file. If
that is what you are asking for.
MYREPORT RCDATA "Report.rpt"
And in your code to retrieve it:
IF ( hRes := FindResource( 0, "MYREPORT", RT_RCDATA ) ) != 0
cReportData := LoadResource( 0, hRes )
ENDI
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Ron Broere" <ronbroere@bbkm.nl> escribió en el mensaje
news:[email=497e18fe@svctag-j7w3v3j....]497e18fe@svctag-j7w3v3j....[/email]
> Is it possible to include the crystal report .rpt file in the resource
> directory?
>
>
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