Shape control in report visible false

I would like to know if we can make a shape visible false by using code in classic report.we have property of shape visible yes or No the same i want to make it based on condition.

Regards,

Sami Mohammed.

You can create 2 sections one with shape and one without shape and based on your condition you can show on of the two.

thank you for reply. but i have defined fixed arrays for columns want to hide which does not have a value…i want to hide last 3 columns…

`