Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.
ReportExcetionService and ReportParameter.ErrorMessage usage

Unanswered ReportExcetionService and ReportParameter.ErrorMessage usage

  • Friday, March 08, 2013 12:41 PM
     
     

    Hi,

    I am try to get the custom error message "This is a Test Error" using ReportExcetionService object and ReportParameter.ErrorMessage Property. But I always get Null as value returned from ReportParameter.ErrorMessage.

    I am using below function to validate one of report parameter.

    Public Function CheckInt(sInt as Integer) as Integer
    Dim msg as String
    msg = ""
    If (sInt > 100) Then
    msg="value cannot be greater than 100"
    End If
    If msg <> "" Then
    Err.Raise(7,"This is a Test Error")
    End If
    End Function


    Suresh Thakur