Reporting services and custom library

Posted by niao on Stack Overflow See other posts from Stack Overflow or by niao
Published on 2010-05-20T06:26:23Z Indexed on 2010/05/20 6:30 UTC
Read the original article Hit count: 299

Filed under:

Greetings, In my Reporting Services report I've added reference to my custom library. It works fine. I can display the string which is returned from my custom library method as follows:

=ClassLibrary1.MyClass.Parse("harry potter")

Above code works fine - it should return SQL query based on passed parameters. My question is, how can I use this code in my DataSource. I'm trying to do something like this:

SELECT * FROM =ClassLibrary1.MyClass.Parse(@searchedPhrase)

But the above code does not work and the error is returned :"Incorrect syntax near ="

© Stack Overflow or respective owner

Related posts about reporting-services