Hi,

I have created unlinked crystal report(subreport) & when i call that report through codeing it shows the following error message.

"unable to connect :incorrect session parameter. 20535"

here is my code
CrystalReport1.WindowState = crptMaximized
CrystalReport1.DataFiles(0) = App.Path & "\db\payroll.mdb"
CrystalReport1.ReportFileName = App.Path & "\reports\temppayslip.rpt"
CrystalReport1.DiscardSavedData = True
CrystalReport1.Password = Chr(10) & "abc"
CrystalReport1.SelectionFormula = ""
CrystalReport1.Action = 1

pls anybody help me in this code...