Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal report calling in VC++

Status
Not open for further replies.

kaleem

Programmer
Apr 28, 2001
7
0
0
PK
dear All
i am new comer t0o vc, i want to call a crystal report from MS VC++.
here is my code in VB. Can any Body Covert it to vc
thanks i Advance

dim m_App as new craxdrt.application
dim m_Rpt as new craxdrt.report

m_app.Logonserver "pdssql.dll","eDoX","eDox","sa","sa"
set m_rpt = m_app.OpenReport (App.Path & "\r.rpt")
m_rpt.Parametefields(1).AddCurrentValue "-1"
me.crview1.ReportSource = m_rpt
crview1.ViewReport


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top