Passing nulls to reporting services

  • Does anyone know of a good way to pass a null value to reporing services 2005 using VB code? I have tried this:

    parameters(0) = New ReportParameter("X", New String(Nothing))

    But what gets passed is any empty string, not a null value. ReportParameters is an array of strings. I am thinking there is no good way of doing this, unless there is a special string that reporting services knows to convert to a null value.

  • Never mind. I figured it out. Just write this:

    parameters(0) = New ReportParameter("X")

  • I'm having same issue.

    Could you pls. help me out.

    i've to pass null parameters from SSRS to Oracle so that report brings back all the records.

  • I don't think your questions relates to the original topic.

    You should post it as a different thread.

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply