none
Error in textbox RRS feed

  • Question

  • Hi

    I added a custom assembly to my report project.
    I tested the dll and it works but when call it from a textbox it retuns an error

    Textbox expression:
    =Code.Test()

    In the code section:
    Function Test() As String
      Return TestDll.Class1.Test
     End Function

    Dll code:
    namespace TestDll
    {
     public static class Class1
     {
      public static string Test()
      {
       return "Test function";
      }
     }
    }

    Is thier any way to get more details about the error and not just the text "#Error"

    Thanks
    Itzik

    • Edited by C-Charp Thursday, June 10, 2010 12:00 PM added code
    Thursday, June 10, 2010 11:51 AM

All replies

  • How about if you put a call to that function in a try/catch block somewhere else in your code. Maybe put a temp button on the form and put the try/catch block in the button click handler. Then you can put most any code you want in the catch block to examine the response you got.

    Bernie

     

    Thursday, June 10, 2010 3:13 PM