954,587 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Create Crystal Report using PHP, Mysql

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

Thanks in advance

Arry :rolleyes:

arry004
Newbie Poster
2 posts since Sep 2006
Reputation Points: 10
Solved Threads: 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);

iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
 
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 ----->

[php]

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

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

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

arry004
Newbie Poster
2 posts since Sep 2006
Reputation Points: 10
Solved Threads: 0
 

Will anybody tell me book of crystal report with php?

nikesh.yadav
Posting Whiz in Training
219 posts since Feb 2008
Reputation Points: 15
Solved Threads: 21
 

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

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

monu82sona
Newbie Poster
1 post since May 2010
Reputation Points: 10
Solved Threads: 0
 

how to create report in php

hemantsahu
Newbie Poster
1 post since Aug 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You