<?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: Repeating table</title><link>https://www.infopathdev.com:443/forums/thread/2105.aspx</link><pubDate>Tue, 04 Apr 2006 22:50:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2105</guid><dc:creator>Ted Fitch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2105.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2105</wfw:commentRss><description>I think you just have to play with the xpath (check the advanced check box) a little bit to get it to work.  It seems like it may be somewhat buggy.  Doing it with code is probably the prefered way to make it work the first time, but the wizards should work!  It did take me 3 or 4 tries on each field to get it to work.  I had to keep playing with it, trying different syntax.  And yes, there doesn't seem anything logical about that, but it did eventually work!</description></item><item><title>Re: Repeating table</title><link>https://www.infopathdev.com:443/forums/thread/2104.aspx</link><pubDate>Tue, 04 Apr 2006 21:08:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2104</guid><dc:creator>schikkam</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2104.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2104</wfw:commentRss><description>yeah, i need to make it work in the similar way.&lt;br /&gt;Thanks a lot!!!!!</description></item><item><title>Re: Repeating table</title><link>https://www.infopathdev.com:443/forums/thread/2103.aspx</link><pubDate>Tue, 04 Apr 2006 03:15:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2103</guid><dc:creator>Ted Fitch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2103.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2103</wfw:commentRss><description>Perhaps.  It took me a couple of times to get it right for me.  That file is what you wanted, right?  That is when you previewed the form it worked as you expected?</description></item><item><title>Re: Repeating table</title><link>https://www.infopathdev.com:443/forums/thread/2102.aspx</link><pubDate>Mon, 03 Apr 2006 22:14:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2102</guid><dc:creator>schikkam</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2102.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2102</wfw:commentRss><description>thank you very much for the file.&lt;br /&gt;But it still doesnt work for the repeating sections, may be i need to figure out using the coding part.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: Repeating table</title><link>https://www.infopathdev.com:443/forums/thread/2101.aspx</link><pubDate>Fri, 31 Mar 2006 16:53:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2101</guid><dc:creator>Ted Fitch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2101.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2101</wfw:commentRss><description>Sorry for the confusion on this, did you by chance use the "" around the my: when you put it in?  The quotes are not part of the code...&lt;br /&gt;&lt;br /&gt;The other thing to try is to put the my: in front of the @Name as well.&lt;br /&gt;&lt;br /&gt;When I was testing this out last night (and I did get it work in the end) it seemed a little flaky at times, I had to play around with it doing different combinations to get the xpath to recognize the correct groups &amp; fields.  It did work though!&lt;br /&gt;&lt;br /&gt;If you send me an email through forums I will send you the actual xsn file I was playing with (I saved it) if you want.  I won't be able to get to it tonight since I am not at home but I would be happy to do that for you if you want.&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: Repeating table</title><link>https://www.infopathdev.com:443/forums/thread/2100.aspx</link><pubDate>Fri, 31 Mar 2006 16:13:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2100</guid><dc:creator>schikkam</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2100.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2100</wfw:commentRss><description>Hi,&lt;br /&gt;   Thanks for ur help.&lt;br /&gt;   I have used the formula in the similar way, but i have an error&lt;br /&gt;&lt;br /&gt;   formula:&lt;br /&gt;         preceding-sibling::Device[1]/@Name&lt;br /&gt;   Error:&lt;br /&gt;         "preceding-sibling::Device/@Name" does not point to a valid location path of a field or group.&lt;br /&gt; &lt;br /&gt;   I have also tried using "my:" before the group name but it still doesnt work.&lt;br /&gt;&lt;br /&gt;Thanks.</description></item><item><title>Re: Repeating table</title><link>https://www.infopathdev.com:443/forums/thread/2099.aspx</link><pubDate>Fri, 31 Mar 2006 06:26:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2099</guid><dc:creator>Ted Fitch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2099.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2099</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Yes, using the xPath this is what you would do.  It's a little bit tricky to get it just right, but I hope that the following directions can help you figure this out:&lt;br /&gt;&lt;br /&gt;1) edit the properties of the repeating table&lt;br /&gt;&lt;br /&gt;2) Add a rule&lt;br /&gt;&lt;br /&gt;3) The condition is to test to see if the field is blank, then we are going to instruct InfoPath to copy the values of the preceding field into the inserted field.  Name the rule whatever you want, but probably something that means something to you so you will remember what it's for in the future. &lt;br /&gt;&lt;br /&gt;4) Add an action&lt;br /&gt;&lt;br /&gt;5) The action should be to "Set a fields value".  The field you choose  in the Field name box should be the name of the field you want the data copied to&lt;br /&gt;&lt;br /&gt;6) Now we get a little tricky.  Select the &lt;i&gt;&lt;b&gt;f&lt;/b&gt;&lt;/i&gt;x icon to the right of the value box below the  This is where you are going to use InfoPath to pick the groups &amp; fields for the command. &lt;br /&gt;&lt;br /&gt;In the formula section type:&lt;br /&gt;&lt;br /&gt;preceding-sibling::&lt;br /&gt;&lt;br /&gt;Then click on &lt;font color="red"&gt;Insert Field or Group&lt;/font id="red"&gt;.  Select the group that the field you want copied is part of.  InfoPath may insert a "." here.  If it does, manually type in the group name and this is key, add a &lt;b&gt;[1]&lt;/b&gt; to it.  This will tell InfoPath to look at the previous row to get the information to copy from.  After the &lt;b&gt;[1]&lt;/b&gt; you must put a &lt;b&gt;/&lt;/b&gt; (which tells InfoPath which field from the group you want)  Then select &lt;font color="red"&gt;Insert Field or Group&lt;/font id="red"&gt; again and select the field and insert it.  Verify the formula.  If you get an error saying that it's not a valid name or a node error, you may need to add a &lt;b&gt;my:&lt;/b&gt; in front of your group name.  When I was testing this it on my machine tonight I kept having to do that.  The final result should look like this:&lt;br /&gt;&lt;br /&gt;&lt;u&gt;preceding-sibling::groupName[1]/fieldName&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;Now test it.  Hopefully it will work for you.  &lt;br /&gt;&lt;br /&gt;Ted&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: Repeating table</title><link>https://www.infopathdev.com:443/forums/thread/2098.aspx</link><pubDate>Thu, 30 Mar 2006 18:04:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2098</guid><dc:creator>schikkam</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2098.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2098</wfw:commentRss><description>I am not aware of using the XPath.&lt;br /&gt;Is there any way where i can add a rule in the properties of the repeating section.&lt;br /&gt;&lt;br /&gt;Thanks.</description></item><item><title>Re: Repeating table</title><link>https://www.infopathdev.com:443/forums/thread/2097.aspx</link><pubDate>Thu, 30 Mar 2006 17:20:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2097</guid><dc:creator>Ted Fitch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2097.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2097</wfw:commentRss><description>Hi again,&lt;br /&gt;&lt;br /&gt;I think you will want to investigate using rules and using "preceding-sibling".  Within that repeating table you can refer to the preceding entry (silbing) using rules to autopopulate the inserted line.&lt;br /&gt;&lt;br /&gt;Here are a couple of places to help you on your way in more detail:&lt;br /&gt;&lt;br /&gt;&lt;a href='http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1741&amp;SearchTerms=preceding-sibling' target='_blank' title='http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1741&amp;SearchTerms=preceding-sibling'&lt;a target="_blank" href=http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1741&amp;SearchTerms=preceding-sibling&gt;http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1741&amp;SearchTerms=preceding-sibling&lt;/a&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This one deals with incremental values based upon the previous entry, but this should give you an idea of the direction you need to go:&lt;br /&gt;&lt;a href='http://kjellsj.blogspot.com/2005/04/using-xpath-preceding-sibling-in.html' target='_blank' title='http://kjellsj.blogspot.com/2005/04/using-xpath-preceding-sibling-in.html'&lt;a target="_blank" href=http://kjellsj.blogspot.com/2005/04/using-xpath-preceding-sibling-in.html&gt;http://kjellsj.blogspot.com/2005/04/using-xpath-preceding-sibling-in.html&lt;/a&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Ted</description></item><item><title>Repeating table</title><link>https://www.infopathdev.com:443/forums/thread/1222.aspx</link><pubDate>Thu, 30 Mar 2006 15:48:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1222</guid><dc:creator>schikkam</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1222.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1222</wfw:commentRss><description>Hi, i have a repeating table in an InfoPath form.&lt;br /&gt;I have a textbox in the repeating table, which is bound to a database.&lt;br /&gt; When the user enters a value in the textbox, and clicks the "Click to insert another record" before submitting the records to the database, i would like to have the textbox in the second record to display the same value of the textbox as in the first record( which the user has already typed).How can i do this.&lt;br /&gt;&lt;br /&gt;Thanks.</description></item></channel></rss>