<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Locking (read only) a repeating section</title><link>https://www.infopathdev.com:443/forums/thread/7617.aspx</link><pubDate>Wed, 07 Sep 2005 08:20:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7617</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7617.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7617</wfw:commentRss><description>Hi Lp12,&lt;br /&gt;Very interesting question. I'm not sure if you can use xdExpression programmatically to do this at runtime or not, but you should try it via the Properties-&amp;gt;Display-&amp;gt;Conditional wizard. Search on xdExpression in this forum. You might be able to do it, but you'll likely have to write a little function to return true or false depending on user role and row id. The function will have to calculate that. &lt;br /&gt;&lt;br /&gt;Another option is to create two sections inside your repeating section - one for read-only and one for non-read-only and use xdExpression to control which one is displayed based on id of section. &lt;br /&gt;&lt;br /&gt;Let us know if this works. I'm optimisitic, but don't have time to prototype right now. Good luck!&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Locking (read only) a repeating section</title><link>https://www.infopathdev.com:443/forums/thread/4895.aspx</link><pubDate>Mon, 05 Sep 2005 14:41:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4895</guid><dc:creator>lp12</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4895.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4895</wfw:commentRss><description>Hi all,&lt;br /&gt;&lt;br /&gt;I have a form with several fields including some closed in a repeatng section.&lt;br /&gt;i added a button that by user role can change the status of the controls to REad-only&lt;br /&gt;what i want to acheive is that IP will let me "lock" each instance of a repeating sec seperatly (now all the instaces are closing).&lt;br /&gt;Is it possible to do it?&lt;br /&gt;Thanks a lot in advance...</description></item></channel></rss>