Could you show an example to interface a crystal report from Visual C++ app.
Printable View
Could you show an example to interface a crystal report from Visual C++ app.
Could you show an example to interface a crystal report from Visual C++ app.
Hi Praveen
At first you can design your report in Crystal Report . Then you must add Crystal Report control (ActiveX) into your project.
Get a member variable from this control and then work with this variable and member functions of CCrystalCtrl .
The most important functions are :
SetSelectionFormula(myformula)
SetConnect(connect string)
SetReportFileName(rpt filename)
SetAction(1)
I hope it is good enough for you .
Tamanna