[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1200
  • Last Modified:

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

Can I call a vb function from within rdlc? My conditional formatting is VERY involved
0
fal3s
Asked:
fal3s
  • 2
  • 2
1 Solution
 
williamcampbellCommented:
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

http://msdn.microsoft.com/en-us/library/ms252073(VS.80).aspx
0
 
fal3sAuthor Commented:
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,....)
0
 
williamcampbellCommented:
Isn't that what my link says :)
0
 
fal3sAuthor Commented:
Not really.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now