Dear Sir,
I want to display my report from Visaul Basic if i use a single report then it works properly but when i use a sub report from same database it generates an error ‘incorrect session perameter’. I think its because, i am not giving a password for the sub report i used in the main report. The syntex i used is
Dim PW as String
PW= “abcd”
With CrystalReport1
.ReportFileName = “C:\CS2\rptSalesInvoice.rpt”
.DataFiles(0) = “C:\CS2\DataBase.mdb”
.Password = Chr(10) & PW
.Action = 1
End With