Can I call a vb function from within rdlc? My conditional formatting is VERY involved

Posted on 2009-05-01
Last Modified: 2013-11-26
Can I call a vb function from within rdlc? My conditional formatting is VERY involved
Question by:fal3s
    LVL 12

    Expert Comment

    Expressions, which are always written in Microsoft Visual Basic, are used to aggregate data or perform conditional formatting. Reports can also include custom code. You can embed custom code within your report, or call methods on a custom assembly that is part of your application. In contrast with expressions, custom code can be written in other languages besides Visual Basic.

    So yes you can ...

    Heres a link with more info

    Accepted Solution

    I found the solution myself. It turns out that in the VisualStudio ReportWriter, if you click on the heading and open the Properties from the menu you find there, that you can get to a tab marked CODE, where you can write your vb functions. Then on the field you are interested in, you can call that function by using a construction like this =Code.VBFunction(parameter1,....)
    LVL 12

    Expert Comment

    Isn't that what my link says :)

    Author Comment

    Not really.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
    Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
    This video discusses moving either the default database or any database to a new volume.
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now