Hide a section in document when a field in a database is blank

I want to hide a section in my word document when a field in a database is blank. I go to Format → Sections and then select the section I created. Now, I select the Hide button and put in my condition. The condition I am using is:
[data_base.table_name.field_name]==""
However, this does not work. This format works fine for Conditional text, but not for the conditional section. Any advice please?