-1

Hi
Pls tell me how to create a Crystal Report in php, mysql using com component

Thanks in advance

Arry :rolleyes:

6
Contributors
6
Replies
23
Views
10 Years
Discussion Span
Last Post by kmp1
0

Doesn't visual studio have a good crystal report utility?

Any way try calling it as a com object

$cr=new com("Crystal.CRPE.Application") or die("cannot load cr com");
$rn="F:\notes5\test.rpt";
$rap=$cr->OpenReport($rn);

0

Hi
Pls tell me how to create a Crystal Report in php, mysql using com component

Thanks in advance

Arry :rolleyes:

Hi.... thnx for your reply ... but it dosent work with crystal report 11. I tried using ----->

$COM_Object = "CrystalReports11.ObjectFactory.1";
        $objCom = new COM($COM_Object);
        
        $crapp = $objCom->CreateObject("CrystalDesignRunTime.Application");
        $creport = $crapp->OpenReport($my_report, 1);

but got an error at
$objCom->CreateObject("CrystalDesignRunTime.Application");

are there any examples or tutorials available ... if there are please give me the links for them.

Thanks

0

$COM_Object = "CrystalReports11.ObjectFactory.1";
$objCom = new COM($COM_Object);

$crapp = $objCom->CreateObject("CrystalDesignRunTime.Application");
$creport = $crapp->OpenReport($my_report, 1);

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.