call cristal report from VB6.0

crish

New member
Local time
Today, 12:47
Joined
Jun 16, 2008
Messages
5
Dear All

I want to connect call a report created from cristal report 8.0. DB conection is with ODBC.

ChqNo = Val(TxtChqNo.Text)
CrystalReport1.SelectionFormula = ""
CrystalReport1.Formulas(0) = ""

CrystalReport1.ReportFileName = App.Path & "\cheque.rpt"
CrystalReport1.SelectionFormula = "{cbchqrgh.chq_no}= " & ChqNo & ""
CrystalReport1.PrintReport

nothing will happened !!
how can i call the report

brgds
crish
 
Dear All

I want to connect call a report created from cristal report 8.0. DB conection is with ODBC.

ChqNo = Val(TxtChqNo.Text)
CrystalReport1.SelectionFormula = ""
CrystalReport1.Formulas(0) = ""

CrystalReport1.ReportFileName = App.Path & "\cheque.rpt"
CrystalReport1.SelectionFormula = "{cbchqrgh.chq_no}= " & ChqNo & ""
CrystalReport1.PrintReport

nothing will happened !!
how can i call the report

brgds
crish


add

CrystalReport1.action=1
 

Users who are viewing this thread

Back
Top Bottom