<?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: Set a field in a row in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/3780.aspx</link><pubDate>Tue, 16 Jan 2007 22:51:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3780</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3780.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3780</wfw:commentRss><description>I responded to your other identical posting with this:&lt;br /&gt;&lt;br /&gt;If you want, you can use code to solve the problem. That's the safest way. Otherwise, you can create a rule (the kind that updates all rows), and then manually edit the manifest.xsf file to update the xpath for that rule action to include the filter.</description></item><item><title>Re: Set a field in a row in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/3779.aspx</link><pubDate>Sat, 13 Jan 2007 08:01:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3779</guid><dc:creator>kelsawy2000</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3779.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3779</wfw:commentRss><description>Dear Greg&lt;br /&gt;&lt;br /&gt;Thank you very much for your help.  It looks that what you have described needs&lt;br /&gt;to be done with VB or Java scripts.&lt;br /&gt;&lt;br /&gt;Without scripting and even if I filtered the table for a specific row as you&lt;br /&gt;proposed, I will not be able to edit xpath (in rules actions) to reach my&lt;br /&gt;specific field in the specific row.&lt;br /&gt;&lt;br /&gt;When I add a rule, add action within the rule, and select "Set a Field Value",&lt;br /&gt;I am only restricted to the selection of a field without editing its xpath.&lt;br /&gt;This would set the value of the field in all rows in the table even after &lt;br /&gt;using a filter for a particular row.&lt;br /&gt;&lt;br /&gt;If you agree on what I am saying, then I have to use VB script.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;kelsawy</description></item><item><title>Re: Set a field in a row in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/3778.aspx</link><pubDate>Mon, 08 Jan 2007 17:30:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3778</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3778.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3778</wfw:commentRss><description>If you know the row number you can filter out just that row in your XPath using the '[n]' filter:&lt;br /&gt;&lt;br /&gt;/Root/Table/Row[3]/Field = "value"&lt;br /&gt;&lt;br /&gt;Sets "value" to Field on the 3rd row of the table.&lt;br /&gt;&lt;br /&gt;If you know a filter value you can use that:&lt;br /&gt;&lt;br /&gt;/Root/Table/Row[FilterField = 'FilterValue']/Field = "value"&lt;br /&gt;&lt;br /&gt;Sets "value" to Field on the table row where FilterField = "FilterValue"&lt;br /&gt;&lt;br /&gt;If you are using rules, and you don't filter for a particular row, then yes, all rows will be updated.</description></item><item><title>Re: Set a field in a row in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/3777.aspx</link><pubDate>Sat, 06 Jan 2007 11:48:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3777</guid><dc:creator>kelsawy2000</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3777.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3777</wfw:commentRss><description>Greetings,&lt;br /&gt;&lt;br /&gt;Thank you Aruna and Greg Collins for your reply.  I know all of what you have said and tried it before. The method you have mentioned will set ALL the values of the field in ALL rows in the repeating table.&lt;br /&gt;&lt;br /&gt;The problem is that there is no way to select the xpath of a certain field in a certain row of the repeating table.  The only selection for the xpath of the field to be set, is to provide the xpath for the field (with no row) in the repeating table.  &lt;br /&gt;&lt;br /&gt;I hope there is a simple way in InfoPath 2003 (with SP1) without using VB script which I know little about.&lt;br /&gt;&lt;br /&gt;kelsawy</description></item><item><title>Re: Set a field in a row in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/3776.aspx</link><pubDate>Fri, 05 Jan 2007 00:21:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3776</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3776.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3776</wfw:commentRss><description>Keep in mind that your data is entirely independant of any views that you have, and any fields present in any views.&lt;br /&gt;&lt;br /&gt;You can modify any field value in your DOM from any view.</description></item><item><title>Re: Set a field in a row in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/3775.aspx</link><pubDate>Thu, 04 Jan 2007 13:03:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3775</guid><dc:creator>Aruna</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3775.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3775</wfw:commentRss><description>Hi kelsawy,&lt;br /&gt;&lt;br /&gt;1.Create a button to switch view.&lt;br /&gt;2.In the button properties click on Rules button.&lt;br /&gt;3.Click on Add button in Rules wizard.&lt;br /&gt;4.Click on Add Action button.&lt;br /&gt;5.From Action drop down list select "set a fields value".&lt;br /&gt;6.Click on the xpath right to "Field" and Select the field to which you want to set value.&lt;br /&gt;7.Click on the xpath rght to "Value" and select the field which you want to set value.&lt;br /&gt;&lt;br /&gt;Hope this helps you!</description></item><item><title>Set a field in a row in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/1774.aspx</link><pubDate>Thu, 04 Jan 2007 12:42:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1774</guid><dc:creator>kelsawy2000</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1774.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1774</wfw:commentRss><description>Greetings,&lt;br /&gt;&lt;br /&gt;While I am in view1 and pushed a button in the same view1, is there a way to set the value of a textbox field in a row in a repeating table in another view (e.g. view2)?&lt;br /&gt;&lt;br /&gt;Your help is greatly appreciated.&lt;br /&gt;</description></item></channel></rss>