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 / September 2005

Tip: Looking for answers? Try searching our database.

locking repeating section

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lp12 - 05 Sep 2005 11:55 GMT
Hi All,
i create a custom button that locks (read-only) the entire form controls
(some of them are grouped in repeating sections.
the problem is that i need the button to lock each and every row in the
repeating section seperatly.(now all the  instances of each repeating section
are being locked together)
any suggestions?
Thanks a lot in advance
Scott L. Heim [MSFT] - 07 Sep 2005 13:23 GMT
Hi,

I am assuming you are referring to a "Repeating Table" and not a "Repeating
Section" as you indicated you need "each and every row" to be locked
separately.

If this is the case, you will need to modify your design such that you add
a button for each row in the table that, as an example, toggles a check box
field to True. Then you can set Conditional Formatting for each control
where it gets set to Read Only when the check box is true.

There is really no way to use one button outside of the Repeating Table
because as soon as you click that button, focus is lost from the row/field
you were on so there is no way to determine what row needs to be locked.

If you don't like the button for each row idea, you may be able to use a
Rule or code on a specific field whereas once that field gets completed, it
sets the check box to True.

I hope this helps!

Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights
Lp12 - 12 Sep 2005 09:29 GMT
Thanks a lot Scott....it did the trick...
Peace

> Hi,
>
[quoted text clipped - 21 lines]
>
> This posting is provided "AS IS" with no warranties, and confers no rights
 
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.