TopDeveloper
TopDeveloper

Reputation: 542

How to use Crystal Reports with parameters in PHP?

I would like to use Crystal reports with an ODBC (Sybase) data connection in PHP to display my database reports.

I selected Crystal Reports because of its advanced features, professional abilities, and its support for Sybase databases. I also found PHP Reports but it doesn't support Sybase.

My configuration is PHP v5, Sybase ASA 11, Crystal Reports 9, IIS 6.

I searched the web for practical examples and Applications and I tried them but they do not work.

Has anyone tried to do that before? Would you please provide me with such an example.

Upvotes: 0

Views: 2813

Answers (2)

PerformanceDBA
PerformanceDBA

Reputation: 33708

Should be no problem. I have not done that exact sequence myself, but I have done many similar.

Ensure that you get ODBC working first (separate to Crystal & PHP). Eg. Excel⇢ODBC⇢OpenClient⇢SybaseASE. OpenClient comes on the CD. ODBC is simple to set up: Datasource names, default db, etc.

Upvotes: 1

Dai
Dai

Reputation: 1510

I don't know if this is the standard way it works but where I work we have a JSP that renders crystal reports. To call it we use javascript to create a popup linked to the report renderer URL with the report location/parameters passed in the URL string.

If you don't want to use Tomcat then you could give i-Net Crystal Reports a go, that uses a java applet.

Upvotes: 0

Related Questions