<?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: Disable Cut ,Paste in the Repeating Table menu</title><link>https://www.infopathdev.com:443/forums/thread/8764.aspx</link><pubDate>Fri, 26 Jan 2007 07:22:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8764</guid><dc:creator>Helsie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8764.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8764</wfw:commentRss><description>&lt;blockquote id="quote"&gt;&lt;font size="1" face="Verdana, Arial, Helvetica" id="quote"&gt;quote:&lt;hr height="1" noshade id="quote"&gt;&lt;i&gt;Originally posted by Patrick Halstead&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Sorry I can't spend more time on this, but have to work on something all night tonight... :(&lt;br /&gt;&lt;hr height="1" noshade id="quote"&gt;&lt;/font id="quote"&gt;&lt;/blockquote id="quote"&gt;I already figured that it must be ridiculously late for you right now. Here it is a nice 8:21AM, for a fresh new working day. :)&lt;br /&gt;&lt;br /&gt;I will look into the examples. I already took a look at some examples but I just couldn't find what I need (yet). No problem at all that you don't have more time; what you've said should be enough to make it work for me.  Many thanks &amp; good luck with your all night-job. :)</description></item><item><title>Re: Disable Cut ,Paste in the Repeating Table menu</title><link>https://www.infopathdev.com:443/forums/thread/8763.aspx</link><pubDate>Fri, 26 Jan 2007 07:16:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8763</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8763.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8763</wfw:commentRss><description>Hi again,&lt;br /&gt;You may need to move up the xpath axis or use current(). There are several posts on current and Greg has HowTo articles on how to filter using the correct position in a repeating table. Please search the forum (upper right) and the HowTos (upper left) for this info. My guess is that you are getting very very close... just a little bit more... :) Sorry I can't spend more time on this, but have to work on something all night tonight... :(</description></item><item><title>Re: Disable Cut ,Paste in the Repeating Table menu</title><link>https://www.infopathdev.com:443/forums/thread/8762.aspx</link><pubDate>Fri, 26 Jan 2007 07:12:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8762</guid><dc:creator>Helsie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8762.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8762</wfw:commentRss><description>&lt;blockquote id="quote"&gt;&lt;font size="1" face="Verdana, Arial, Helvetica" id="quote"&gt;quote:&lt;hr height="1" noshade id="quote"&gt;&lt;i&gt;Originally posted by Patrick Halstead&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;oh, I was confused. For that, you should just add conditional formatting to make it read only if position() is 1. Just use xpath for the conditional expression.&lt;br /&gt;&lt;hr height="1" noshade id="quote"&gt;&lt;/font id="quote"&gt;&lt;/blockquote id="quote"&gt;Well, for some reason it doesn't work... It seems to be a bug that it always returns 1 as a value for the expression position() in conditional formatting..</description></item><item><title>Re: Disable Cut ,Paste in the Repeating Table menu</title><link>https://www.infopathdev.com:443/forums/thread/8761.aspx</link><pubDate>Fri, 26 Jan 2007 02:05:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8761</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8761.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8761</wfw:commentRss><description>oh, I was confused. For that, you should just add conditional formatting to make it read only if position() is 1. Just use xpath for the conditional expression.</description></item><item><title>Re: Disable Cut ,Paste in the Repeating Table menu</title><link>https://www.infopathdev.com:443/forums/thread/8760.aspx</link><pubDate>Thu, 25 Jan 2007 15:28:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8760</guid><dc:creator>Helsie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8760.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8760</wfw:commentRss><description>Nope it did not work. Because when I limit to three, I can still delete the first three, as long as I've added 3 new lines before deleting those first three...</description></item><item><title>Re: Disable Cut ,Paste in the Repeating Table menu</title><link>https://www.infopathdev.com:443/forums/thread/8759.aspx</link><pubDate>Thu, 25 Jan 2007 01:37:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8759</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8759.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8759</wfw:commentRss><description>You can just change the schema to have a minOccurs=3 and that will limit the delete using the default widgets.&lt;br /&gt;Please try that and let me know if it works.</description></item><item><title>Re: Disable Cut ,Paste in the Repeating Table menu</title><link>https://www.infopathdev.com:443/forums/thread/8758.aspx</link><pubDate>Thu, 25 Jan 2007 00:47:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8758</guid><dc:creator>Helsie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8758.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8758</wfw:commentRss><description>&lt;blockquote id="quote"&gt;&lt;font size="1" face="Verdana, Arial, Helvetica" id="quote"&gt;quote:&lt;hr height="1" noshade id="quote"&gt;&lt;i&gt;Originally posted by Patrick Halstead&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Hi Helsie,&lt;br /&gt;&lt;br /&gt;Do you have 2 issues? Is it just about the buttons, or do you need to also limit delete? Are the buttons more important, or were they just one way you thought of to handle the problem?&lt;hr height="1" noshade id="quote"&gt;&lt;/font id="quote"&gt;&lt;/blockquote id="quote"&gt;Limiting the delete is the main issue. :) Buttons would be one way to do it, based on reading (a lot of) forum topics.&lt;br /&gt;&lt;br /&gt;&lt;blockquote id="quote"&gt;&lt;font size="1" face="Verdana, Arial, Helvetica" id="quote"&gt;quote:&lt;hr height="1" noshade id="quote"&gt;We've done what you are describing many times, so it is very possible to do this. If you'd like some quick-turnaround hands-on assistance to solve your problem, check out our Support packs &lt;a target="_blank" href=http://www.qdabra.com/products.asp?cat=12&gt;http://www.qdabra.com/products.asp?cat=12&lt;/a&gt;). &lt;br /&gt;&lt;br /&gt;Cheers!&lt;br /&gt;&lt;hr height="1" noshade id="quote"&gt;&lt;/font id="quote"&gt;&lt;/blockquote id="quote"&gt;Would it be possible to do this in a 1-hour support session? If yes, I could talk to my manager, since this is a very important form for our organisation, so it could be they might even spare some money for it! ;)</description></item><item><title>Re: Disable Cut ,Paste in the Repeating Table menu</title><link>https://www.infopathdev.com:443/forums/thread/8757.aspx</link><pubDate>Thu, 25 Jan 2007 00:42:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8757</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8757.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8757</wfw:commentRss><description>Hi Helsie,&lt;br /&gt;&lt;br /&gt;Do you have 2 issues? Is it just about the buttons, or do you need to also limit delete? Are the buttons more important, or were they just one way you thought of to handle the problem?&lt;br /&gt;&lt;br /&gt;We've done what you are describing many times, so it is very possible to do this. If you'd like some quick-turnaround hands-on assistance to solve your problem, check out our Support packs &lt;a target="_blank" href=http://www.qdabra.com/products.asp?cat=12&gt;http://www.qdabra.com/products.asp?cat=12&lt;/a&gt;). &lt;br /&gt;&lt;br /&gt;Cheers!</description></item><item><title>Re: Disable Cut ,Paste in the Repeating Table menu</title><link>https://www.infopathdev.com:443/forums/thread/8756.aspx</link><pubDate>Thu, 25 Jan 2007 00:35:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8756</guid><dc:creator>Helsie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8756.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8756</wfw:commentRss><description>Hi Patrick,&lt;br /&gt;unfortunately I think (am sure ;) ) that our (internal) customer wants to have the insert &amp; delete buttons inside (for delete) or around (for insert) the repeating tables. The problem is that I use 4 different instances of repeating tables in my form and if I have delete &amp; insert in the toolbar or in the taskpane, it will not be convenient enough for the users. Additionally I want to use conditional formatting to activate or deactivate this delete button for the first 3 instances in the repeating table (because those are lines that should not be deleted)...&lt;br /&gt;&lt;br /&gt;Basically, my "root issue" is: A repeating table where the first 3 entries are pre-filled (when opening the form) and it should not be possible to delete any of those 3 and all other entries may be added or deleted as much as the user likes...&lt;br /&gt;Using the expression 'position()=1' (till 3) didn't work: it seems to return 1 for all repeating table rows, so it will always disable adding or deleting...</description></item><item><title>Re: Disable Cut ,Paste in the Repeating Table menu</title><link>https://www.infopathdev.com:443/forums/thread/8755.aspx</link><pubDate>Wed, 24 Jan 2007 22:14:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8755</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8755.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8755</wfw:commentRss><description>Hi Helsie and welcome to our forum!&lt;br /&gt;Is it ok if the buttons are in the toolbar? Adding buttons to toolbar is pretty straightforward. You can also add buttons to the view that add and delete items but that requires some code. Finally, the taskpane is another place, but this too will require some code.</description></item><item><title>Re: Disable Cut ,Paste in the Repeating Table menu</title><link>https://www.infopathdev.com:443/forums/thread/8754.aspx</link><pubDate>Wed, 24 Jan 2007 07:19:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8754</guid><dc:creator>Helsie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8754.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8754</wfw:commentRss><description>I'm sorry for bringing up this very old topic, but I wonder if anybody could give me a short hint how I could create insert/delete buttons using Jscript?&lt;br /&gt;&lt;br /&gt;I want to have a delete button on each row of the repeating table to delete the row where it is and the insert button will be placed outside the repeating table.&lt;br /&gt;&lt;br /&gt;Many thanks for any help!</description></item><item><title>Re: Disable Cut ,Paste in the Repeating Table menu</title><link>https://www.infopathdev.com:443/forums/thread/8753.aspx</link><pubDate>Thu, 12 Jan 2006 04:41:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8753</guid><dc:creator>Abhishek</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8753.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8753</wfw:commentRss><description>Thank you very much Virgul,&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Abhishek</description></item><item><title>Re: Disable Cut ,Paste in the Repeating Table menu</title><link>https://www.infopathdev.com:443/forums/thread/8752.aspx</link><pubDate>Wed, 11 Jan 2006 14:46:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8752</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8752.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8752</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Otherwise you can make an onbeforechange event that stop the delete of the section:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;[InfoPathEventHandler(MatchPath="/AV/AVel/Sitz", EventType=InfoPathEventType.OnBeforeChange)]&lt;br /&gt;		public void AVel_Sitz_OnBeforeChange(DataDOMEvent e)&lt;br /&gt;		{&lt;br /&gt;            &lt;br /&gt;                if (e.Operation == "Delete" )&lt;br /&gt;                {&lt;br /&gt;                    e.ReturnStatus = false;&lt;br /&gt;                    e.ReturnMessage = "You cannot do this sorry!";&lt;br /&gt;                }&lt;br /&gt;          &lt;br /&gt;			&lt;br /&gt;		}&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The option is always hier but you cant use it!&lt;br /&gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Thierry</description></item><item><title>Re: Disable Cut ,Paste in the Repeating Table menu</title><link>https://www.infopathdev.com:443/forums/thread/8751.aspx</link><pubDate>Wed, 11 Jan 2006 13:11:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8751</guid><dc:creator>Abhishek</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8751.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8751</wfw:commentRss><description>Hi MFaus,&lt;br /&gt;I  allow users to insert rows(using built in Insert commands),but I dont allow them to delete rows using the in-built "Remove" option.&lt;br /&gt;I provide a custom delete button to only certain rows based on conditions.&lt;br /&gt;            So I dont want the "Cut" option to those rows which dont satisfy my conditions.&lt;br /&gt;Even though I have disabled the "Remove" and "Remove All" option,the "Cut" option still appears in the menu.&lt;br /&gt;So the best option would be to to disable the " Allow users to insert/delete into the repeating section" check box &lt;br /&gt;and provide a custom Insert button.&lt;br /&gt;&lt;br /&gt;Thanks a lot,&lt;br /&gt;regards,&lt;br /&gt;Abhishek&lt;br /&gt;</description></item><item><title>Re: Disable Cut ,Paste in the Repeating Table menu</title><link>https://www.infopathdev.com:443/forums/thread/8750.aspx</link><pubDate>Wed, 11 Jan 2006 03:50:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8750</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8750.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8750</wfw:commentRss><description>You can add custom buttons that specifically do the insert.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item></channel></rss>