This the formula they have written in crystal reports.How to implement this one in SSRS2008R2?
Formula:
Shared StringVar sNewBranch;
StringVar sPrintMe := "yy";
if sNewBranch = {@BName-BID} then
(
sPrintMe := totext({salesrepgensummary.branch_name}) + " - " + totext({salesrepgensummary.branch_code}) & " -continued ";
)
ELSE
(
//sNewBranch:= {@BName-BID};
sPrintMe := totext({salesrepgensummary.branch_name}) + " - " + totext({salesrepgensummary.branch_code});
)
;