<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Varied Default Values in a repeating table control</title><link>https://www.infopathdev.com:443/forums/thread/92634.aspx</link><pubDate>Sun, 01 Sep 2013 21:48:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92634</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92634.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=92634</wfw:commentRss><description>&lt;p&gt;Fantastic! Glad to hear you figured it out. Sorry we were delayed in responding.&lt;/p&gt;</description></item><item><title>Re: Varied Default Values in a repeating table control</title><link>https://www.infopathdev.com:443/forums/thread/92563.aspx</link><pubDate>Wed, 28 Aug 2013 14:35:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92563</guid><dc:creator>arkainus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92563.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=92563</wfw:commentRss><description>I actually figured it out if anyone was interested. All you need to do is include the following for the default field and the values calculate correctly:

addDays(insert field with date of start here, count(preceding-sibling::gpDate))</description></item><item><title>Varied Default Values in a repeating table control</title><link>https://www.infopathdev.com:443/forums/thread/92557.aspx</link><pubDate>Tue, 27 Aug 2013 21:31:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92557</guid><dc:creator>arkainus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92557.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=92557</wfw:commentRss><description>Hi all, 

I have created a repeating table in a form, with which I have made generate 7 rows automatically, using the default values function. I was able to set the value of the &amp;quot;Day Field&amp;quot; to a value statically by just typing into the field. However in the next column over I would like to increment using the adddays xpath function. When I go to generate the function though, all of the default values for that field equal the function, instead of individually like when I statically type a word in there (so for example, in case this isn&amp;#39;t clear: row 1 I would like to have a default value of addDays(datefield, 1), row 2 of addDays(datefield, 2), etc). Is there some recourse here to achieve what I would like without custom code? Maybe some way to reference the row id of a repeating table or something (addDays(datefield, rowid)? Or am I left without an option? Any help/guidance/suggestions here would be greatly appreciated.

Thank you in advance for your time.</description></item></channel></rss>