Link to home
Start Free TrialLog in
Avatar of steven
stevenFlag for United States of America

asked on

Crystal Report Field Supression

We are trying to hide a field in crystal report 2013 based on a formula.  We have added a formula called testcount as
local numberVar count:= 0;
local stringVar comma := {Ens_RptSingleCertNew;1.job};
Local numberVar strLen:=length(comma);
local numberVar I;
for i:=1 to strLen do

    If Mid(comma,i,1)= ","
        then count := count +1;
count;

We attempt to suppress the field based on the count being > 2 .   This has no effect yet when we display the count on the report it show as 3.00.  We only need to hide this one field any help would be appreciated.    We have the field suppression set as:
{@TESTCOUNT} > 2.00
ASKER CERTIFIED SOLUTION
Avatar of steven
steven
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mike McCracken
Mike McCracken

I suspect you don't need the WhilePrintingRecords, just the EvalauteAfter

mlmcc