Hide Dropdown when nothing is inner

D

DolceVita

Hi,

Is it possible to hide a dropdown listbox with conditionnal formatting
when nothing is inner?

Because if my secondary datasource don't send nothing I wan't to hide
my dropdown listbox!

Thanks
 
S

S.Y.M. Wong-A-Ton

Yes. Use a condition like

count(xdXDocument:GetDOM("MySecDataSource")/dfs:myFields/dfs:dataFields/d:Group/@firstfield) = 0

You will have to type the expression in yourself by first selecting a field
from your secondary data source when you are in the "Conditional Format"
dialog box, and then selecting "The expression" from the first drop-down list
box, and then typing in the count(...) = 0 expression around the selected
secondary data source field in the text box behind the drop-down list box.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top