Click here to Skip to main content
15,893,722 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi, Iam using VS2010, while generating RDLC report, Iam using IIf statement for calculations.
But I found a typical problem which is very different.
Because from the Code.Functions for calculation, simply it's working fine, when I give the
below command directly

VB
=Code.AddMyNet(Sum(ReportItems!itm_value.Value))

But I wish to give like the below command, It's giving error "local report processing"

VB
=IIf((ReportItems!Textbox15.Value ="CARRY FORWARDED "), Code.AddMyNet(Sum(ReportItems!itm_value.Value)), Nothing)

Actually Function AddMyNet() used to calculate the pagewise running value total.

And hence any guidances will be helpful

Thanks & Regards
Paramu
Posted
Updated 29-May-14 3:07am
v2
Comments
CHill60 29-May-14 9:15am    
The full error might prove useful

1 solution

As per Chill60, the full error message would help.

Just a thought though, should you be setting it nothing? Perhaps it should be ""?
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900