PDA

Click to See Complete Forum and Search --> : No Data in Crystal Report


HeinLatt
Aug 14th, 2008, 11:24 PM
I have an application developed with VB6.0.
I use seagate crystal report 7.0 for reporting.
I set the db location in crystal report and running the report in crystal report designer.
I can see the report running correctly with data.
but when i call the report from my application, the report is appear without data.
how can i do for this problem.

jggtz
Aug 15th, 2008, 01:21 PM
Please, post your vb6 code where you call the report

HeinLatt
Aug 18th, 2008, 12:11 AM
CrystalReport1.Reset

CrystalReport1.Connect = strConnectString
CrystalReport1.ReportFileName = App.Path & "\Report\Reportfour.rpt"
CrystalReport1.StoredProcParam(0) = cboCaseNo
CrystalReport1.StoredProcParam(1) = IIf(cboProposeNo = "-", "99", cboProposeNo)
CrystalReport1.WindowState = crptMaximized

CrystalReport1.action = 1

rasinc
Aug 18th, 2008, 08:54 PM
I would check to make sure the parameters are receiving real data and then test to see if it pulls correct data in the Crystal designer outside your program.