Hi everyone!
I hope someone will help me on this.
I'm using VB6, Crystal Report 8.5 , Microsoft Access 2003 and my OS is WinXP. I enable password for the database
I'm really new with VB and really really hope that someone will give me the solution for my problem. I recieved this "Run-time error '20535:
Error in File C:\Program Files\Microsoft Visual Studio\....\Outward1.rpt:
Unable to connect: incorrect session parameters"
here is some of the codes:
on the 'view' command button:
for the mnuView_click :Code:Private Sub cmdView_Click() mnuView_Click End Sub
Thank you in advance!!!Code:Private Sub mnuView_Click() CrystalReport1.Destination = crptToWindow CrystalReport1.DataFiles(0) = App.Path & "\dbCustomer.mdb" CrystalReport1.ReportFileName = App.Path & "\Outward1.rpt" CrystalReport1.CopiesToPrinter = 1 CrystalReport1.Password = "customerdatabase2006" CrystalReport1.WindowTitle = "Customer Management V1.0" CrystalReport1.WindowState = crptMaximized CrystalReport1.Action = 1 End Sub




Reply With Quote