Crystal Report In Php

Discussion in 'PHP' started by AskPHP, Feb 26, 2009.

  1. #1
    Hey anyone can help me? I need coding how to generate crystal report by using php..Also need coding on how to convert the windows.print button to excel and pdf...URGENT MY BOSS IS NAGGING ME!!!!!
    :eek::confused:
     
    AskPHP, Feb 26, 2009 IP
  2. Gonzo4u

    Gonzo4u Well-Known Member

    Messages:
    410
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    110
    #2
    Hello AskPHP,

    Since no such client requirement came to me before, so I didnt got a chance to work on it yet. If you running PHP on Windows, call Crystal Reports as a COM object. More info can be found here:
    http://us2.php.net/manual/en/book.com.php

    Second option is to dig more for Crystal Reports web services that will also work regardless of OS.

    Your second part of question is not clear to me!

    Regards,
    Gonzo
     
    Gonzo4u, Feb 26, 2009 IP
  3. Vooler

    Vooler Well-Known Member

    Messages:
    1,146
    Likes Received:
    64
    Best Answers:
    4
    Trophy Points:
    150
    #3
    I hope it is not too late to reply you with another possible solution.
    One of my fellow programmers had crystl reports going nasty on web, and he tried thrice but faild.
    Finally I suggested him the traditional way I used to use with vb6, web-based reporting.

    Create HTML templates mark the filelds' areas something like {FIELD1}, then replace it with vaue. And use native webbrowser control on desktop applciation as well as Document.write (asp) / print (php) for web.

    As far exporting data to Microsoft Excel here is related resources

    If you need I can supply you exact vb code that I wrote in replacement of crystal reports.

    regards

    I hope it helps.
     
    Vooler, Mar 1, 2009 IP