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 / June 2006

Tip: Looking for answers? Try searching our database.

Can you disable a control(a checkbox) from code?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tag - 26 Jun 2006 18:48 GMT
What im trying to do is  i have a repeating secton, that one of the
fields is a primary contact checkbox, so if someone  selects this, then
a new contact section is created(a new repeating section) and i want
code to check and automaticaly disable the primary contact checkbox so
that there isnt a conflict of two primary contacts
Greg Collins [InfoPath MVP] - 30 Jun 2006 20:46 GMT
If you add conditional formatting to the check box to tell it to disable if another node has a certain value -- then you can use code to set that other node's value. The other node can be in a secondary data source so that it does not get saved with the maind DOM.

Signature

Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )
Visit InfoPathDev ( http://www.InfoPathDev.com )

 
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.