<?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: listBox and its values in repeating table fields</title><link>https://www.infopathdev.com:443/forums/thread/14116.aspx</link><pubDate>Wed, 14 Dec 2005 09:19:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14116</guid><dc:creator>mar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14116.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14116</wfw:commentRss><description>Ive solved it.Just simple mistake in building my form.</description></item><item><title>listBox and its values in repeating table fields</title><link>https://www.infopathdev.com:443/forums/thread/12712.aspx</link><pubDate>Tue, 13 Dec 2005 19:06:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12712</guid><dc:creator>mar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12712.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12712</wfw:commentRss><description>Hello,&lt;br /&gt;i have a listbox(with values, for ex.{1,2,3,4}).&lt;br /&gt;By this code im adding a new row in my table:&lt;br /&gt;---------&lt;br /&gt;IXMLDOMNode row = thisXDocument.DOM.selectSingleNode(something);&lt;br /&gt;IXMLDOMNode lb = thisXDocument.DOM.selectSingleNode(mylistbox);&lt;br /&gt;row=row.cloneNode(true);&lt;br /&gt;row.selectSingleNode("my:field").text=lb.text;&lt;br /&gt;IXMLDOMNode table=thisXDocument.DOM.selectSingleNode(mysomething);&lt;br /&gt;table.appendChild(row);&lt;br /&gt;---------&lt;br /&gt;And ok, i have a new row, but...always with value 1 from my listbox.Doesnt matter which value i will choose.&lt;br /&gt;So i added OnAfterChange for my listbox, and its putting my choosen value to the field in table, but after adding a new row, infopath adds a row with 1 again....&lt;br /&gt;How can i force him to remember my values in row correctly, and what im doing wrong?&lt;br /&gt;help...</description></item></channel></rss>