Click to See Complete Forum and Search --> : Blank Report


muneerpappattu
December 24th, 2005, 01:25 AM
Hai,

I am getting Blank report from any PC when I tried to run a VB pgm which will pass a Recordset to Crystal Report File (.rpt).
I am using TTX(Tab Seperated Text) report in CR and using the following code to pass a recordeset to rpt.

Set CrAppl = New Application
Set CrRep = CrAppl.OpenReport(App.Path & "\" & ReportName & "")
Set CrDb = CrRep.Database
Set CrTables = CrDb.Tables
Set CRtable1 = CrTables.Item(1)
CRtable1.SetPrivateData 3, rsInv

I was getting correct report few days back.

Can someone help me pls .....?

Regards,
Muneer

Rambi
December 25th, 2005, 08:53 AM
Have you created the report , if so by any chance have you opened and viewed the report with a select record expert , if so the when you save the report it will be set to the particular select expert, then there are chances that you will get blank report.
In such case , open the report and delete the select expert selection and try

Rambi