Page 1 of 1

using C# functions

Posted: Sun Feb 27, 2011 4:50 am
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!

using C# functions

Posted: Mon Feb 28, 2011 2:21 am
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.