How to hide a code bar element?

I need to hide a code bar when his value is 0. I tried to mark it as conditional but it didn’t work.

Could you suggest me how to do that?

How did you set up your condition?

I’ve just done a very simple test using:

Action: Hide
Toggle Visibility Checked
Condition: Equal To
Value: the value I’m using to show/hide on.

This is working quite well. When you set your condition, did you choose the right field?

Hi, AlbertsN, thank you for your prompt response. I’m creating the conditions very similar to your text, but the difference is that the field used is in a nested table inside the record.

I have no way to tell the conditional what value to use since I do not have an index to change the records od the nested table.

Hrm, you’ll have to loop through the details then in order to get to the value you want. Obviously without seeing the data it’s tough to make a precise recommendation, but I presume you’re already showing that nested data in a table somewhere. Perhaps consider adding in a condition in that script that will read that value when it’s available in the loop and then use Query to find your barcode so you can set your attribute and hide it.