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!!!!!
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
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.