Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / March 2006

Tip: Looking for answers? Try searching our database.

Hide Dropdown when nothing is inner

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DolceVita - 14 Mar 2006 15:17 GMT
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.Y.M. Wong-A-Ton - 14 Mar 2006 16:10 GMT
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.
---
S.Y.M. Wong-A-Ton

> Hi,
>
[quoted text clipped - 5 lines]
>
> Thanks
DolceVita - 15 Mar 2006 08:24 GMT
Nice tricks!

Thanks
DolceVita - 15 Mar 2006 08:24 GMT
Nice tricks!

Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.