•How to access crystal reports through PHP code?

Answer Posted / guest

We can access crystal reports in php using COM object.
e.g.
$domobj = new COM("crystalruntime.application");
$domobj->OpenReport("repname.rpt");

There are different ExportFormatType
//4 - RTF; 31 - PDF; 30 - xls; 36 - xls; 14 – doc

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between $message and $$message?

559


How to remove duplicate values from array using php?

527


How to write php function in html onclick?

527


What is user defined function in php?

539


Which software is best for php?

526






Does wordpress run on php 7?

515


How to read the entire file into a single string?

575


What are objects in php?

532


What is the use of rand() in php?

610


How to get the IP address of the client/user in PHP?

521


How is it possible to remove escape characters from a string?

580


In PHP, fgets() is used to read a file one line at a time. State Whether True or False?

586


What is a php tag?

529


How to remove leading and trailing spaces from user input values?

546


What is php session start?

530