Click to See Complete Forum and Search --> : Crystal reports interface with visual C++ 5.0


Praveen
March 31st, 1999, 12:29 PM
Could you show an example to interface a crystal report from Visual C++ app.

PRAVEEN
March 31st, 1999, 12:29 PM
Could you show an example to interface a crystal report from Visual C++ app.

Tamanna farahani
May 7th, 1999, 11:27 PM
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