<?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: Autonumber</title><link>https://www.infopathdev.com:443/forums/thread/27736.aspx</link><pubDate>Sun, 06 Apr 2008 23:42:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27736</guid><dc:creator>pmbaker86</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27736.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=27736</wfw:commentRss><description>&lt;p&gt;&lt;strong&gt;count(parent::*/preceding-sibling::*) + 1&lt;/strong&gt; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Autonumber</title><link>https://www.infopathdev.com:443/forums/thread/27735.aspx</link><pubDate>Sun, 06 Apr 2008 21:32:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27735</guid><dc:creator>pmbaker86</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27735.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=27735</wfw:commentRss><description>&lt;p&gt;OK I have a form with two views.&amp;nbsp; View 1 (Office View) links to an Access database.&amp;nbsp; View 2 (Pit View) contains text boxes.&amp;nbsp; I am using Pit View to create a print version with the SDK.&amp;nbsp; Office View pulls data from Pit View to be posted back to the database for reports and billing.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;My problem is in my repeating sections.&amp;nbsp; I need the count or position of the repeating section on Office View so I can reference the fields in Pit View.&amp;nbsp; My count(preceding-sibling::T2) + 1 in Pit View works but does not work in Office View (yes I reference the corresponding repeating section in Office View).&amp;nbsp; I can use an Expression Box in Office View to calculate the data I need with position() but I cannot reference that data. It seems nothing works when my fields are linked back to the Access Database. &lt;/p&gt;&lt;p&gt;&lt;br /&gt;I&amp;nbsp; will be referencing the data from Pit View for Office View such that OfficeView.RepeatingSection[x].DataField = PitView.RepeatingSection[x].DataField for all data fields and all sections.&amp;nbsp; Any suggestions.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>