Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7
This is the forum to discuss the Wrox book Professional SQL ServerReporting Services by Paul Turley, Todd Bryant, James Counihan, George McKee, Dave DuVarney; ISBN: 9780764568787
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 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 July 12th, 2004, 11:11 AM
Authorized User
 
Join Date: Jun 2004
Location: Peterborough, Ontario, Canada.
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default Example of SetReportParameters (please)

I have found SetReportParameters in the BOL.

Public Sub SetReportParameters(
   ByVal Report As String _
   ByVal Parameters() As [Namespace].ReportParameter _
)

That's pretty much it.

Anyone have an example of this?

I need to do something like (pseudo code):

Parameter("ID") = "125"
Parameter("Version") = "3"
Parameter("Language") = "3"

etc.

I also searched the BOL for this: Parameters.SetValue but had no hits.

I want to be able to set my report parameters in my web page (I am using the reporting service to render the report to another page. I can do this where there are either, no parameters, or the parameters have defaults. I cannot set the parameters) and then have the report render using them.

This should not be hard but I can't find the syntax. :(

Sandy Murdock MCP
__________________
Sandy Murdock MCP
 
Old August 2nd, 2004, 02:40 PM
Registered User
 
Join Date: Aug 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Anyone figure out how to set report parameters like this yet?
Thanks!









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