Hướng dẫn crystal report php and mysql

Probably best to start your own thread. A 12 year old well dead thread ain't going to attract much attention.

Seeing as you also posted this to stackoverflow: //stackoverflow.com/questions/56817045/using-crystal-report-with-php

Let us know if …

All 8 Replies

iamthwee

17 Years Ago

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);

17 Years Ago

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

15 Years Ago

Will anybody tell me book of crystal report with php?

13 Years Ago

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

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

13 Years Ago

how to create report in php

kmp1 0 Newbie Poster

11 Years Ago how to create crystal report in php code

4 Years Ago

Hello I am using Crystal report version 11.5.8.826, php version 7.0.10, Apache version 42.4.33 and MySql Version 5.7.14. I have created the sampel rptone.rpt file that contents sample report. I want to load that rptone.rpt file usin php. i have used this code: `$my_report = "report/rptone.rpt" $COM_Object = "CrystalReports115.ObjectFactory.1"; $objCom = new COM($COM_Object, "localhost", 0, ""); $crapp = $objCom->CreateObject("CrystalDesignRunTime.Application"); $creport = $crapp->OpenReport($my_report, 1);`

I am getting error

Fatal error: Uncaught com_exception: Failed to create COM object `CrystalReports115.ObjectFactory.1': Class not registered

4 Years Ago

Edited 4 Years Ago by alan.davies

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.

Archive

  • Google
  • About Google
  • Privacy
  • Terms

Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 [14] 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60

Powered by vBulletin® Version 4.2.0 Copyright © 2023 vBulletin Solutions, Inc. All rights reserved.

Chủ đề