Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 27th, 2006, 05:16 AM
Registered User
Join Date: Sep 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to arry004 Send a message via Yahoo to arry004
Default Create Crystal Report using Php, Mysql

Hi every one...

I need to create crystal report using php, mysql. I have XP, IIS, PHP5.1.6, Mysql 5, CrystalReport 11, Mysql Odbc driver 3.51.60 installed on my pc. The current code I am using is giving me error... please tell me where I am doing wrong....

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

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


exception 'com_exception' with message 'Source: Unknown
Description: Unknown' in e:\Projects\RND\COM\PHP_WORD_Demo\CrystalReportDem o.php:12 Stack trace: #0 e:\Projects\RND\COM\PHP_WORD_Demo\CrystalReportDem o.php(12): com->CreateObject('CrystalDesignRu...') #1 {main}

Thanks in advance

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Create a new Dynamic Crystal Report ramk_1978 VB How-To 4 October 7th, 2008 10:39 PM
how to create a crystal report in asp.net 2.0 smartymca Crystal Reports 1 August 27th, 2007 05:27 AM
create database in mysql through php coding vivekananth PHP Databases 2 January 31st, 2007 01:48 AM
Vusial Basic 6, Mysql and Crystal Report 10 Samuel Banda Access VBA 1 December 20th, 2006 08:31 AM
mysql with seagate crystal report snehahari MySQL 1 May 15th, 2006 04:04 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.