Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 27th, 2006, 05:16 AM
Registered User
 
Join Date: Sep 2006
Location: , , .
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);

RESULT--------->

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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 07:50 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.