Página 1 de 1
treport and crystal report
Publicado: Lun Ene 26, 2009 9:11 pm
por Ron Broere
Is it possible to include the crystal report .rpt file in the resource
directory?
treport and crystal report
Publicado: Mar Ene 27, 2009 9:54 am
por ignacio
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?
>
>
treport and crystal report
Publicado: Mar Ene 27, 2009 9:54 am
por ignacio
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?
>
>