php-windows Digest 3 Jan 2013 03:05:43 -0000 Issue 4084
Topics (messages 30983 through 30983):
PHP and Crystal Reports
30983 by: findatanet
Administrivia:
To subscribe to the digest, e-mail:
php-windows-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-windows-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-wind...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
I am working on a project to update reporting on a system. On each report,
the current system uses PHP to make one or more mySQL queries, iterates
through the query results and manipulates the data, and then generates HTML
for display. I am tasked with changing the reports to use Crystal Reports
to make them look nicer and to generate PDFs.
I have seen many examples of using COM to create an object factory, to
create a CR app, load the report, and generate a PDF. However, all of the
examples just load the CR .rpt file, pass the database logon parameters, and
use a direct connection to the database to generate the report.
In .Net and Java, I am able to generate data tables or data sets that I can
hand to the CR .rpt file once I have loaded it. This would be handy to do
in this case because the PHP code already produces the data that needs to go
on the report.
Is there a way to do this or will I need to rewrite the PHP code as SQL
procedures that I can use to generate the reports?
Thanks very much!
David
--
View this message in context:
http://old.nabble.com/PHP-and-Crystal-Reports-tp34853739p34853739.html
Sent from the Php - Windows mailing list archive at Nabble.com.
--- End Message ---