<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Updating an item in an unrelated list</title><link>https://www.infopathdev.com:443/forums/thread/65302.aspx</link><pubDate>Sat, 19 Mar 2011 15:15:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65302</guid><dc:creator>qwerty</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65302.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=65302</wfw:commentRss><description>Hi noppojp (this is a little late, I know). &lt;br /&gt;&lt;br /&gt;Actually this can be done without code. First, add an extra column to your unrelated list -- you will probably have to do this in your database, and call the field in it @change (or anything else). Give it an integer datatype by doubleclicking on the field and changing the selection that says &lt;b&gt;Text (string)&lt;/b&gt; to &lt;b&gt;Whole Number (integer)&lt;/b&gt;.Then add another field outside of the list in your datasource, called @current. Give it an integer datatype too. Then, add a button to your form, and add the following rules, in order, to it: &lt;b&gt;Set a field&amp;#39;s value: @current = &amp;lt;ID of Row to Get&amp;gt;&lt;/b&gt;, and &lt;b&gt;Set a field&amp;#39;s value: @change = @change + 1&lt;/b&gt;. &lt;br /&gt;&lt;br /&gt;Finally, add a rule to @change: &lt;b&gt;If &amp;lt;ID of Row&amp;gt; is equal to @current, THEN: Set a field&amp;#39;s value: &amp;lt;Field to Update&amp;gt; = &amp;lt;Value to Change it T&amp;gt;.&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;Have a great day and I hope this helps!&lt;br /&gt;&lt;br /&gt;Qwerty</description></item><item><title>Re: Updating an item in an unrelated list</title><link>https://www.infopathdev.com:443/forums/thread/65063.aspx</link><pubDate>Thu, 10 Mar 2011 16:49:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65063</guid><dc:creator>Ted Fitch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65063.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=65063</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, you can do that.&amp;nbsp; The key of course is knowing the ID so you can update the right row in the list&amp;nbsp;and you have figured that out.&lt;/p&gt;
&lt;p&gt;To update the list though will require code.&amp;nbsp; You can either write your own code to do this or use a tool like our qRules product which has several commands to work with SharePoint lists from your form including the ability to write to SharePoint lists and even the ability to update your InfoPath form if the list gets edited in SharePoint.&lt;/p&gt;
&lt;p&gt;You can find out more about qRules here: &lt;a href="http://www.qdabra.com/en/products/qRules.aspx"&gt;http://www.qdabra.com/en/products/qRules.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Next week we will be offering a free 1 hour webinar on qRules, let me know if you want to know more about this.&lt;/p&gt;
&lt;p&gt;Ted&lt;/p&gt;</description></item><item><title>Updating an item in an unrelated list</title><link>https://www.infopathdev.com:443/forums/thread/65025.aspx</link><pubDate>Wed, 09 Mar 2011 13:27:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65025</guid><dc:creator>noppojp</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65025.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=65025</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Is it possible to update a field in an unrelated list if i have the ID to the item that i&amp;#39;d like to update?&lt;br /&gt;If this is possible, please let me know what my options would be to enable this.&lt;br /&gt;&lt;br /&gt;I have successfully pulled the ID of the unrelated item into the form.&amp;nbsp; My issue is not knowing how to&lt;br /&gt;change the field, say &amp;lt;Field1&amp;gt; within the unrelated list, even if i have the ID for the unrelated item.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Welcome your thoughts.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>