Results 1 to 3 of 3

Thread: [RESOLVED] [solved] #Error with microsoft report

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2004
    Posts
    263

    Resolved [RESOLVED] [solved] #Error with microsoft report

    I added a parameter to the rdlc called paramTitle

    Then I tried this as a demo

    Code:
            Dim params(0) As Microsoft.Reporting.WinForms.ReportParameter
    
            params(0) = New Microsoft.Reporting.WinForms.ReportParameter("paramTitle", "Hello world")
            ReportViewer1.LocalReport.SetParameters(params)
            ReportViewer1.RefreshReport()
    I bound a text box to that parameter with
    Code:
    =Parameters!paramTitle
    Now when I run the program, the textbox says "#Error" rather than "Hellow world" as I would expect.

    Does anyone see anything wrong here?

    Thanks,

    Dave
    Last edited by daviddoria; Jan 2nd, 2009 at 08:34 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width