General discussion
Thread display: Collapse - |
All Comments
Start or search
Create a new discussion
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
Passing Password From VB to Crystal Rep
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