using C# functions

Stimulsoft Reports.NET discussion
Post Reply
Naveen Aggarwal
Posts: 70
Joined: Wed Feb 24, 2010 11:08 am
Location: India

using C# functions

Post by Naveen Aggarwal »

is it possible to use c# functions like Left, Right etc. in the report ?
I am in need of applying some condition using 2 characters from the left of a column in.
say for example IIf(Left(a.father_husband_name,3)=="D/O", "", a.father_husband_name) .
Unfortunately it throws an exception.
Kindly help !!

Regards!
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

using C# functions

Post by Ivan »

Hello,
naveenagg wrote:is it possible to use c# functions like Left, Right etc. in the report ?
Left, Right, Mid are not C# functions. These are VB functions.
We made some improvements in that direction and added the Left, Right and Mid functions.
The patch will be available in the next prerelease build.

Thank you.
Post Reply