Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SetParameters - Need help

0 views
Skip to first unread message

runningdog

unread,
Dec 5, 2005, 8:02:21 PM12/5/05
to
Hi,

I've tried to follow the example provided in http://msdn2.microsoft.com/en-us/library/microsoft.reporting.winforms.serverreport.setparameters.aspx
in a report with multiple parameters but can not get it to work. No errors just no values in my parameters. Can someone point me in the right direction please.
Platform is;
    SQL Server 2005
    VB 2005
    .Net 2

With ReportViewer
    .ServerReport.ReportPath = _Path
    .ServerReport.DisplayName = _Title

    Dim ReportId As New ReportParameter("ReportId", _ReportId)
    Dim OrgName As New ReportParameter("Organization", config.SiteDetails.Name)
    Dim LogoPath As New ReportParameter("Logo", My.Settings.Logo)
    Dim p() As ReportParameter = {ReportId, OrgName, LogoPath}

    .ServerReport.SetParameters(p)
    .ServerReport.Refresh()
End With
 
TIA Steve
0 new messages