<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Deleteing from repeating group on changing event of another field</title><link>https://www.infopathdev.com:443/forums/thread/82461.aspx</link><pubDate>Mon, 10 Sep 2012 00:05:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82461</guid><dc:creator>petrel</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82461.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=82461</wfw:commentRss><description>I am having the same problem.&amp;nbsp;Is there a solution?</description></item><item><title>Re: Deleteing from repeating group on changing event of another field</title><link>https://www.infopathdev.com:443/forums/thread/81610.aspx</link><pubDate>Mon, 13 Aug 2012 14:21:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81610</guid><dc:creator>Kishu11</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81610.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=81610</wfw:commentRss><description>&lt;p&gt;No, I still haven&amp;#39;t. I noticed that it only happens when a field is inside a repeating section. Hopefully someone from here&amp;nbsp;can help us with this. :S&lt;/p&gt;</description></item><item><title>Re: Deleteing from repeating group on changing event of another field</title><link>https://www.infopathdev.com:443/forums/thread/81583.aspx</link><pubDate>Fri, 10 Aug 2012 21:11:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81583</guid><dc:creator>brianf</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81583.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=81583</wfw:commentRss><description>did you ever get a resolution to this?&amp;nbsp; I am having the same issue.&amp;nbsp; Thanks.</description></item><item><title>Re: Deleteing from repeating group on changing event of another field</title><link>https://www.infopathdev.com:443/forums/thread/79507.aspx</link><pubDate>Thu, 14 Jun 2012 18:54:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79507</guid><dc:creator>Kishu11</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79507.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=79507</wfw:commentRss><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Invalid update: A custom constraint has been violated. It happens&amp;nbsp;when editing a textbox inside a repeating section or deleting a repeating section. Please help.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kishu11&lt;/p&gt;</description></item><item><title>Re: Deleteing from repeating group on changing event of another field</title><link>https://www.infopathdev.com:443/forums/thread/44530.aspx</link><pubDate>Fri, 17 Jul 2009 13:19:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44530</guid><dc:creator>raoford</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44530.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=44530</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Deleteing from repeating group on changing event of another field</title><link>https://www.infopathdev.com:443/forums/thread/32446.aspx</link><pubDate>Tue, 23 Sep 2008 07:39:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32446</guid><dc:creator>MakarandDevalekar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32446.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=32446</wfw:commentRss><description>&lt;p&gt;Hi David,&lt;/p&gt;
&lt;p&gt;I am facing problem while giving cutom message to the user while inserting new table by clicking insert item of a repeating table.&lt;/p&gt;
&lt;p&gt;I m doing following in RepeatingTable-changing event&lt;/p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;public&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;font size="2"&gt; RepeatingTable_Changing(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;object&lt;/font&gt;&lt;font size="2"&gt; sender, &lt;/font&gt;&lt;font color="#008080" size="2"&gt;XmlChangingEventArgs&lt;/font&gt;&lt;font size="2"&gt; e)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;if&lt;/font&gt;&lt;font size="2"&gt; (e.Operation == &lt;/font&gt;&lt;font color="#008080" size="2"&gt;XmlOperation&lt;/font&gt;&lt;font size="2"&gt;.Insert)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;e.CancelableArgs.Message = &lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;Can not insert new address&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font size="2"&gt;e.CancelableArgs.MessageDetails = &lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;Not allowed to insert new address data&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/p&gt;e.CancelableArgs.Cancel = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;true&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;} &lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;But&amp;nbsp;I always&amp;nbsp;get default Infopath message&lt;/p&gt;
&lt;p&gt;Message&amp;nbsp;- The&amp;nbsp;item can not inserted.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Message Details -&amp;quot; Invalid update: A custom constraint has been violated.&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is there any way to avoid this ?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Makarand&amp;nbsp;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Deleteing from repeating group on changing event of another field</title><link>https://www.infopathdev.com:443/forums/thread/32445.aspx</link><pubDate>Tue, 23 Sep 2008 07:19:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32445</guid><dc:creator>MakarandDevalekar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32445.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=32445</wfw:commentRss><description>&lt;p&gt;I am also facing the same problem.&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;have written following code in changing&amp;nbsp;event of repeating table.&lt;/p&gt;&lt;font size="2"&gt;
&lt;p&gt;////////////////&amp;nbsp;&lt;/p&gt;e.CancelableArgs.Cancel = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;true&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;e.CancelableArgs.Message= &lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;Can not insert data&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/p&gt;
&lt;p&gt;e.CancelableArgs.MessageDetails = &lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;Not allowed to insert new details&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;////////////////&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&amp;nbsp;But i am getting following infopath default message,&lt;/p&gt;
&lt;p&gt;Invalid update: A custom constraint has been violated.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please help....&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Deleteing from repeating group on changing event of another field</title><link>https://www.infopathdev.com:443/forums/thread/31401.aspx</link><pubDate>Tue, 12 Aug 2008 22:56:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31401</guid><dc:creator>arduk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31401.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=31401</wfw:commentRss><description>&lt;p&gt;Just wondering if you got a resolution to this - I am encountering the same problem - the error message is always the default error message, no matter what I put in the as the Message or MessageDetails.&lt;br /&gt;&lt;br /&gt;Ideally, I would like to turn off this message altogether - do you know if there is a way to do this?&lt;br /&gt;&lt;br /&gt;Thanks in advance for any assistance!&lt;/p&gt;</description></item><item><title>Re: Deleteing from repeating group on changing event of another field</title><link>https://www.infopathdev.com:443/forums/thread/26217.aspx</link><pubDate>Tue, 05 Feb 2008 20:58:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26217</guid><dc:creator>davidair</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26217.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=26217</wfw:commentRss><description>&lt;p&gt;Hmm, I tried to re-create the problem but I got the right message. If you cannot resolve this issue you can maybe attach the form which has the problem (don&amp;#39;t forget to include source code) and I could take a look.&lt;/p&gt;</description></item><item><title>Re: Deleteing from repeating group on changing event of another field</title><link>https://www.infopathdev.com:443/forums/thread/26210.aspx</link><pubDate>Tue, 05 Feb 2008 14:46:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26210</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26210.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=26210</wfw:commentRss><description>&lt;p&gt;Thank you for your help.&amp;nbsp; I didn&amp;#39;t realise (or had forgotten) about the data being read only during changing/validating events.&amp;nbsp; Yes it does make sense.&amp;nbsp; I have got to the next stage.... &lt;/p&gt;
&lt;p&gt;I have set the following when the user tries to remove the last item in a group on the group_changing event&lt;br /&gt;&lt;font size="2"&gt;e.CancelableArgs.Cancel = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;True&lt;br /&gt;&lt;/font&gt;&lt;font size="2"&gt;e.CancelableArgs.Message = &lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;Cannot Remove the last item&amp;quot;&lt;br /&gt;&lt;/font&gt;&lt;font size="2"&gt;e.CancelableArgs.MessageDetails = &lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;The last item cannot be removed, Select N in Alias Y/N&amp;quot;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#800000" size="2"&gt;But the&amp;nbsp;message I get displayed is&lt;br /&gt;The item cannot be removed&lt;br /&gt;Invalid update: A custom constraint has been violated.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#800000" size="2"&gt;If I comment out the code in the event... the item gets removed.&amp;nbsp; So my code is definitely being called.&amp;nbsp; But I don&amp;#39;t know where my message is going and why the (presumably) standard message is coming from.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#800000" size="2"&gt;Catharine&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Deleteing from repeating group on changing event of another field</title><link>https://www.infopathdev.com:443/forums/thread/26189.aspx</link><pubDate>Mon, 04 Feb 2008 18:18:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26189</guid><dc:creator>davidair</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26189.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=26189</wfw:commentRss><description>&lt;p&gt;Off the top of my head, the data is read-only during the changing/validating events.&lt;/p&gt;
&lt;p&gt;What is means is that you should do your changes in chang&lt;strong&gt;ed&lt;/strong&gt; event instead:&lt;/p&gt;
&lt;p&gt;1. In chang&lt;strong&gt;ing&lt;/strong&gt;, do your test for cancellation and roll out as appropriate&lt;/p&gt;
&lt;p&gt;2. In chang&lt;strong&gt;ed&lt;/strong&gt;, do the changes you wanted&lt;/p&gt;
&lt;p&gt;Note that if you cancelled #1, #2 would not happen so you no longer need to have the &amp;quot;else&amp;quot; clause.&lt;/p&gt;
&lt;p&gt;Hope this makes sense!&lt;/p&gt;</description></item><item><title>Deleteing from repeating group on changing event of another field</title><link>https://www.infopathdev.com:443/forums/thread/26176.aspx</link><pubDate>Mon, 04 Feb 2008 13:28:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26176</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26176.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=26176</wfw:commentRss><description>&lt;p&gt;I am using Infopath 2007 and vb.&lt;/p&gt;
&lt;p&gt;I have a dataset &lt;br /&gt;Aliases Y/N&lt;br /&gt;AliasesGroup (repeating)&lt;br /&gt;&amp;nbsp;&amp;nbsp; Aliases&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I want the user to answer Y/N to the Aliases Y/N prompt and if the answer is Yes then display the Aliases.&amp;nbsp; This works fine.&lt;/p&gt;If Aliases are already present and the User changes the Y/N prompt to N&amp;nbsp; I prompt the user on the changing event to see whether they really want to delete the Aliases.&amp;nbsp; &lt;br /&gt;If they say no&amp;nbsp; then I rollback the change - this works fine&lt;br /&gt;If they say yes - they really want to delete the Aliases I try to set the value of the first one present to &amp;quot;&amp;quot; and delete the rest.&amp;nbsp; In both cases I get the error Operation is not valid, because of the current state of the object.&amp;nbsp; How do I find out what is the state of the object ?&amp;nbsp; Is there a better way to do this ? - My code is below&amp;nbsp;&lt;font size="2"&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Public&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Sub&lt;/font&gt;&lt;font size="2"&gt; AliasesYN_Changing(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;ByVal&lt;/font&gt;&lt;font size="2"&gt; sender &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Object&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;ByVal&lt;/font&gt;&lt;font size="2"&gt; e &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; XmlChangingEventArgs)&lt;br /&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&amp;#39; Ensure that the constraint you are enforcing is compatible&lt;br /&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&amp;#39; If you are changing the alias to No and Aliases already exist prompt user&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;If&lt;/font&gt;&lt;font size="2"&gt; e.OldValue = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;True&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;And&lt;/font&gt;&lt;font size="2"&gt; e.NewValue = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;False&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Then&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; reply &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; DialogResult = MessageBox.Show(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;This will delete the existing Aliases&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;Do you want to continue&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;, MessageBoxButtons.OKCancel)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;If&lt;/font&gt;&lt;font size="2"&gt; reply = DialogResult.Cancel &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Then&lt;br /&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;nbsp;&amp;nbsp; e.CancelableArgs.Cancel = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;True&lt;br /&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;nbsp;&amp;nbsp; e.CancelableArgs.Message = &lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;The change has been rolled back&amp;quot;&lt;br /&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;nbsp;&amp;nbsp; e.CancelableArgs.MessageDetails = &lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;Changes have been rolled back, because they will be overwritten by changes in the Directory next time the contacts are checked&amp;quot;&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; grp &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;String&lt;/font&gt;&lt;font size="2"&gt; = &lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;/my:AliasesGroup&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; fld &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;String&lt;/font&gt;&lt;font size="2"&gt; = &lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;/my:AliasesGroup/my:Aliases&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; nav &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; XPathNavigator&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; itgroup &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; XPathNodeIterator&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;nav = e.Site.CreateNavigator.SelectSingleNode(grp, NamespaceManager)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; itgroup = nav.Select(fld, NamespaceManager)&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim&lt;/font&gt;&lt;font size="2"&gt; norecs &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Integer&lt;/font&gt;&lt;font size="2"&gt; = itgroup.Count&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim&lt;/font&gt;&lt;font size="2"&gt; mov &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Boolean&lt;/font&gt;&lt;font size="2"&gt; = itgroup.MoveNext&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; While&lt;/font&gt;&lt;font size="2"&gt; mov = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;True&lt;br /&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; itgroup.Current.SetValue(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; itgroup.MoveNext()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;While&lt;/font&gt;&lt;font size="2"&gt; mov = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;True&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font size="2"&gt;itgroup.Current.DeleteSelf()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; itgroup.MoveNext()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;End&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;While&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;End&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;While&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;End&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;If&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;End&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;If&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;End&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Sub&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>