Conditions in Report Viewer control RRS feed

  • Question

  • Hi all,

    I have a column in my report viewer which contains null values and other values of the type DATETIME.

    I am able to generate the report, but now I want to modify it so that it does not show the null values.

    Since I am a beginner I don't have any idea on how to perform this task.

    Can anybody give me an idea on how to perform this task so that the report does not show any null values?

    Please help me out!
    Tuesday, July 21, 2009 6:19 AM

All replies

  • Hi SNK08,

    You can use a report expression on the visibility property of the detail row. Take a look at using expressions in a report at: http://msdn.microsoft.com/en-us/library/ms157328.aspx

    The visibility expression you are looking for is probably something like: =IIF(Fields!Row.Value Is Nothing, false, true)
    Brad Syputa, Microsoft Reporting Services This posting is provided "AS IS" with no warranties.
    Tuesday, July 21, 2009 5:00 PM