Subject: Passing parameters
Posted By: ceema Post Date: 2/15/2006 3:03:06 AM
Hello,

   I have created Crystal reports in version 9 and using asp.net(vb code behind), I have called it with crystal report viewer. But now my problem is , I have to pass parameters to that(from another .aspx file). Since it's web based and having subreports I am using the following code to enter into each report. But I don't know how to pass parameters to that. Please help.

Thanks
Ceema


crpt = New FormReport
For Each myTable In crpt.Database.Tables
     myLogin = myTable.LogOnInfo
     myLogin.ConnectionInfo.ServerName = "IBA"
     myLogin.ConnectionInfo.DatabaseName = "School"
     myLogin.ConnectionInfo.Password = "12345"
     myLogin.ConnectionInfo.UserID = "sa"
     myTable.ApplyLogOnInfo(myLogin)
Next
CrystalReportViewer1.ReportSource = crpt

Go to topic 39759

Return to index page 369
Return to index page 368
Return to index page 367
Return to index page 366
Return to index page 365
Return to index page 364
Return to index page 363
Return to index page 362
Return to index page 361
Return to index page 360