Wrox Programmer Forums
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 15th, 2006, 04:03 AM
Authorized User
 
Join Date: Aug 2005
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default Passing parameters

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





Similar Threads
Thread Thread Starter Forum Replies Last Post
passing parameters fizzerchris Access VBA 5 August 31st, 2007 12:16 PM
Passing parameters tal Ajax 5 May 26th, 2007 08:07 AM
Passing more than one parameters from datagrid Lyn ASP.NET 1.0 and 1.1 Professional 6 August 29th, 2006 02:30 AM
Passing Parameters spraveens Javascript 5 October 8th, 2003 07:06 AM
passing parameters spraveens Javascript How-To 1 October 8th, 2003 03:14 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.