VB 6.0 - vb6 with crystal report 11 with oracle

Asked By Ayaz Ahmed on 06-Dec-11 05:45 AM
 I need connection code for crystal report 11, Below code is connecting with Crystal report 9 without problem.but For CR X1 GIVING ERROR

Dim Appl As New CRAXDRT.Application
Dim Report As New CRAXDRT.Report
Dim crxTable As CRAXDRT.DatabaseTable
Dim CPProperty As CRAXDRT.ConnectionProperty

Set Report = Appl.OpenReport(App.Path & "\Report12.rpt")
Report.DiscardSavedData
CRViewer91.Refresh
For Each crxTable In Report.Database.Tables
crxTable.SetLogOnInfo "SAGE", "SAGE", "saest", "saest"
Next
CRViewer91.Refresh
Report.RecordSelectionFormula = "{RETAILQUATATION.QUATATIONNO} >= '" & Form4.cmbno.Text & "'"
CRViewer91.DisplayGroupTree = False
CRViewer91.ReportSource = Report
CRViewer91.ViewReport
Asked By Ayaz Ahmed on 06-Dec-11 11:15 PM
Thanks for the Reply,
But I need connection code for crystal report 11 for oracle database,