locking repeating section

L

Lp12

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
 
S

Scott L. Heim [MSFT]

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.
 

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