crystal reports - Call function only for unsuppressed records -
i use 2 string formulas in details section determine countries suppress. formula1 refers company field, , suppress values:
{countries}
in formula2 call function parameter @formula1:
function(@formula1)
but problem function still takes suppressed countries account. normal behavior, or need whileprintingdata
narrow results.
when debug function first time function called incoming string country1
though specified suppress one. how can ensure unsuppressed values passed function?
you write additional logic formula2 perform same check formula1 does. like:
if ({countries} = 10) function("company a") else if ({countries} = 14) function("company b") // else if....
Comments
Post a Comment