Skip to Content
0
Jul 27, 2023 at 09:39 AM

Possible to use IF with referal to e.g. "details b"?

66 Views Last edit Jul 27, 2023 at 01:53 PM 2 rev

Hi everyone,

I am trying to reduce the amount of code I use.

I have multiple detail sections in the report that are essentially clones of each other. The only difference is one line of code in the respective input formulas.

So depending on the user input field {?source} the `details a` or `details b` would be shown. The formula for `details a` uses input_value:={field1} and `details b` uses input_value:={field2}.

Sorry, if that seemed complicated. Happy to explain better if there are questions :)

Thank you again for your continued support!

Alex