Substring Formula
Posted: Sat Apr 30, 2016 1:33 pm
Hello...
I use this function but Something is wrong....stimulsoft says "Sum is not in current context"....
I use this function but Something is wrong....stimulsoft says "Sum is not in current context"....
Code: Select all
{Substring("000000000"+((Sum(GetShowReport.قراردادي)-Sum(IIF(GetShowReport.FoodName =="ورودي مهمان",GetShowReport.قراردادي, 0)) )-
(Sum(GetShowReport.يارانه_اي)-Sum(IIF(GetShowReport.FoodName =="ورودي مهمان",GetShowReport.يارانه_اي, 0)) )).ToString(),(int.Parse(Length((Sum(GetShowReport.قراردادي)-Sum(IIF(GetShowReport.FoodName =="ورودي مهمان",GetShowReport.قراردادي, 0)) )-
(Sum(GetShowReport.يارانه_اي)-Sum(IIF(GetShowReport.FoodName =="ورودي مهمان",GetShowReport.يارانه_اي, 0))) ).ToString())),9)}