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

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -