crystal reports - Formula Validating one field against another -
in crystal, have report checks information on vehicles in auto shop. 2 fields i'm working "inspection" (which can number of inspection types) , "next inspection date." not every vehicle have inspection on it's record, , that's fine. in cases there no inspection, it's natural there no "next inspection date" listed. however, want build formula flag instances inspection type has been assigned no next inspection date has been assigned. if there assigned inspection type , next inspection date in fields, want return value "next inspection date" field.
i've been working if/then/else , trying incorporate isnull operators, can't seem syntax correct.
here's formula (that doesn't work): if isnull {date_next_scheduled} , {inspection.type} > "" "date needed" else {date_next_scheduled}.
if somehow "date needed" string highlighted, ideal.
solved it. following formula got me needed:
if isnull({date_next_scheduled}) , {inspection.type} > "" "date needed" else totext({date_next_scheduled})
Comments
Post a Comment