<?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: Slow View</title><link>https://www.infopathdev.com:443/forums/thread/36961.aspx</link><pubDate>Mon, 12 Jan 2009 21:49:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36961</guid><dc:creator>murphythadog</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36961.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36961</wfw:commentRss><description>&lt;p&gt;Jimmy,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I wanted to report back and let you know all the help you gave me is working perfectly.&amp;nbsp; I was able to build the form and had my admin input the data, we saved it as template.xml and it opens up and works way faster than my first attempt at the form.&amp;nbsp; It streamlined even the building of the form.&amp;nbsp; Now I&amp;#39;m off to part 2 once I correct a few little bits here and there.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Slow View</title><link>https://www.infopathdev.com:443/forums/thread/36740.aspx</link><pubDate>Wed, 07 Jan 2009 20:03:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36740</guid><dc:creator>murphythadog</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36740.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36740</wfw:commentRss><description>&lt;p&gt;Quick question, I&amp;#39;m now creating the new areas in my form for each section for instance:&lt;/p&gt;&lt;p&gt;Administration (Group)&lt;br /&gt;&lt;/p&gt;&lt;blockquote&gt;Header (Group)&lt;br /&gt;Areas (Group)&lt;br /&gt;DptDGA (Group)&lt;/blockquote&gt;&lt;p&gt;Education (Group)&lt;/p&gt;&lt;p&gt;I then referenced the Header/Areas/DptDGA from Admin to Edu.&amp;nbsp; So then all my new referenced fields are still bound to Admin, I right click and bind to the new Groups under Employee Services.&amp;nbsp; It removes the programming from them.&amp;nbsp; Is there a way to keep the programming?&amp;nbsp; I&amp;#39;ve been cutting and pasting but if I could force it to keep the programming it would save me a few steps.&amp;nbsp; Luckily I&amp;#39;m down from manipulating 250+ fields from my old version to 25 fields in my new version.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Slow View</title><link>https://www.infopathdev.com:443/forums/thread/36734.aspx</link><pubDate>Wed, 07 Jan 2009 17:44:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36734</guid><dc:creator>murphythadog</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36734.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36734</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;That did it.&amp;nbsp; I followed how you counted for the TNA and was able to set up a count for my new area DptDGA Autonumber. Thanks for all your help.&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Slow View</title><link>https://www.infopathdev.com:443/forums/thread/36728.aspx</link><pubDate>Wed, 07 Jan 2009 17:17:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36728</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36728.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36728</wfw:commentRss><description>&lt;p&gt;Ok, here ya go.&amp;nbsp; The bold parts are the parts I added.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Table/LevelGroup/Autonumber → count(../preceding-sibling::*) + ../../../my:Autonumber &lt;strong&gt;+ 1&lt;/strong&gt; &lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Figure that for the first one [count(../preceding-sibling::*) = 0], it should be one more than RoomSpace&amp;#39;s Autonumber, and so on&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;RoomSpace/Autonumber&amp;nbsp;→ &lt;font color="blue"&gt;count(../preceding-sibling::my:RoomSpace/my:Table/my:LevelGroup) + &lt;strong&gt;count(../preceding-sibling::my:RoomSpace)&lt;/strong&gt;&lt;/font&gt;&lt;strong&gt; + &lt;/strong&gt;&lt;font color="red"&gt;&lt;strong&gt;count(../../../preceding-sibling::my:Areas/my:Rooms/my:RoomSpace/my:Table/my:LevelGroup) + count(../../../preceding-sibling::my:Areas/my:Rooms/my:RoomSpace)&lt;/strong&gt; + count(../../../preceding-sibling::my:Areas/my:TNA) + count(../../../preceding-sibling::my:Areas/my:NGA) + count(../../../preceding-sibling::my:Areas/my:DGA)&lt;/font&gt; + 1&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;The blue part is the number of previous numbered rows in the same area and the red part is the number of numbered rows in previous areas.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;TNA/Autonumber&amp;nbsp;→&amp;nbsp; ../../my:Rooms/my:RoomSpace/my:Autonumber +&lt;strong&gt; count(../../my:Rooms/my:RoomSpace)&lt;/strong&gt; + count(../../my:Rooms/my:RoomSpace/my:Table/my:LevelGroup)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;The starting number for the first RoomSpace in this area, plus the number of roomspaces and LevelGroups in this area.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;DptDGA/Autonumber&amp;nbsp;→&amp;nbsp;&amp;nbsp; ../../my:Areas[&lt;strong&gt;last()&lt;/strong&gt;]/my:DGA/my:Autonumber + 1&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;One more than the autonumber value in the &lt;em&gt;last&lt;/em&gt; Area&amp;#39;s DGA.&lt;/p&gt;</description></item><item><title>Re: Slow View</title><link>https://www.infopathdev.com:443/forums/thread/36727.aspx</link><pubDate>Wed, 07 Jan 2009 16:42:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36727</guid><dc:creator>murphythadog</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36727.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36727</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Ok, one more and I think I won&amp;#39;t have any questions for a while.&amp;nbsp; The Autonumber for the new layout.&amp;nbsp; I was trying to get it to work on my own, but it seems to return errors if I try to use preceding siblings for the new layout. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Edit:&amp;nbsp; I added a new item DptDGA since It will sum up all the DGA&amp;#39;s for each department. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Slow View</title><link>https://www.infopathdev.com:443/forums/thread/36713.aspx</link><pubDate>Wed, 07 Jan 2009 15:13:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36713</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36713.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36713</wfw:commentRss><description>&lt;p&gt;Glad to hear that.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I wouldn&amp;#39;t recommend that you both work on the form at the same time.&amp;nbsp; That raises the risk of collisions between your changes and hers, but if there is back-and-forth, between her adding new values, sending it back to you, you changing the data source, passing it back, then it should work out ok.&lt;/p&gt;</description></item><item><title>Re: Slow View</title><link>https://www.infopathdev.com:443/forums/thread/36708.aspx</link><pubDate>Wed, 07 Jan 2009 14:06:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36708</guid><dc:creator>murphythadog</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36708.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36708</wfw:commentRss><description>That worked perfectly.&amp;nbsp; Thanks Jimmy.&amp;nbsp; I will be able to start building my form from here.&amp;nbsp; I have an admin who is going to be filling out the data and saving the admin template.&amp;nbsp; Should I have her hold off until I finish the whole thing in case changes are made, or is it ok for her to start saving the template.xml while I&amp;#39;m building out the rest of the form.&amp;nbsp; &lt;br /&gt;</description></item><item><title>Re: Slow View</title><link>https://www.infopathdev.com:443/forums/thread/36665.aspx</link><pubDate>Tue, 06 Jan 2009 22:41:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36665</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36665.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36665</wfw:commentRss><description>&lt;p&gt;In that case, set AdminGroup/TableTitle/autoNumber to&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;count(../../preceding-sibling::my:AdminGroup) + count(../../preceding-sibling::my:AdminGroup/my:rooms) + count(../../preceding-sibling::my:AdminGroup/my:TNA) + count(../../preceding-sibling::my:AdminGroup/my:NGF) + count(../../preceding-sibling::my:AdminGroup/my:DGA) + 1&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;and AdminGroup/TNA/AutoNumber to&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;../../my:TableTitle/my:autoNumber + count(../../my:rooms) + 1&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Leave everything else as-is, and that should do it.&lt;/p&gt;</description></item><item><title>Re: Slow View</title><link>https://www.infopathdev.com:443/forums/thread/36663.aspx</link><pubDate>Tue, 06 Jan 2009 22:15:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36663</guid><dc:creator>murphythadog</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36663.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36663</wfw:commentRss><description>&lt;p&gt;Yes, each row is numbered, I will post a jpg, the form should number each row, and it was working before until I moved everything into the repeating section.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Slow View</title><link>https://www.infopathdev.com:443/forums/thread/36662.aspx</link><pubDate>Tue, 06 Jan 2009 22:06:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36662</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36662.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36662</wfw:commentRss><description>&lt;p&gt;If you set AdminGroup/TableTitle/autoNumber&amp;#39;s default value to this, does it behave how you expect?&amp;nbsp; If not, could you describe how you want it to behave?&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;count(../../preceding-sibling::my:AdminGroup) + count(../../preceding-sibling::my:AdminGroup/my:rooms) + 1&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Do you perhaps want every line numbered, including the rows with totals in them?&lt;/p&gt;</description></item><item><title>Re: Slow View</title><link>https://www.infopathdev.com:443/forums/thread/36661.aspx</link><pubDate>Tue, 06 Jan 2009 21:34:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36661</guid><dc:creator>murphythadog</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36661.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36661</wfw:commentRss><description>&lt;p&gt;It looks like it works so far.&amp;nbsp; I can see how my first attempt was surely a newb way.&amp;nbsp; This forum is great.&amp;nbsp; I will post what I have so far.&amp;nbsp; I am going to work on my Surgery and Lab Areas since those seem to bog down the system the most to see if this helps.&amp;nbsp; I&amp;#39;m a little perplexed on how to get my autonumber field to work right.&amp;nbsp; I had it working up until I introduced the repeating section.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Slow View</title><link>https://www.infopathdev.com:443/forums/thread/36660.aspx</link><pubDate>Tue, 06 Jan 2009 21:07:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36660</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36660.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36660</wfw:commentRss><description>&lt;p&gt;Yes that should work.&amp;nbsp; You can have something like this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Surgery&lt;br /&gt;&amp;nbsp;&amp;nbsp; departmentFloorSpace (field, non-repeating)&lt;br /&gt;&amp;nbsp;&amp;nbsp; areas (group, repeating)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; areaName (field, non-repeating)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; areaFloorSpace (field, non-repeating)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rooms (group, repeating)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; autoNumber, etc.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;And plenty of other possibilities. Yet again, you can reference this &amp;quot;areas&amp;quot; node type if you have more than one department with several areas.&lt;/p&gt;
&lt;p&gt;And don&amp;#39;t be afraid to re-use (reference) field names that you&amp;#39;re&amp;nbsp;already using in the elsewhere in the data source, using the method I described earlier (right-click, etc.).&amp;nbsp; Your data source could even look like this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Surgery&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;strong&gt;totalArea&lt;/strong&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; areas (group, repeating)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;autoNumber&lt;/strong&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; areaName&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;strong&gt;totalArea&lt;/strong&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rooms (group, repeating)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;autoNumber&lt;/strong&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; roomName&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;totalArea&lt;/strong&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;...&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Here &lt;em&gt;Surgery&lt;/em&gt;, &lt;em&gt;areas&lt;/em&gt;, and &lt;em&gt;rooms&lt;/em&gt; all have a field called totalArea, and &lt;em&gt;areas&lt;/em&gt; and &lt;em&gt;rooms&lt;/em&gt; both have a field called autoNumber, but the fields&amp;nbsp;each serve&amp;nbsp;their own logistical purpose based on their place in the datasource, so they still make sense.&lt;/p&gt;</description></item><item><title>Re: Slow View</title><link>https://www.infopathdev.com:443/forums/thread/36658.aspx</link><pubDate>Tue, 06 Jan 2009 20:44:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36658</guid><dc:creator>murphythadog</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36658.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36658</wfw:commentRss><description>&lt;p&gt;Now that I&amp;#39;m getting deeper into this newer version of my form I have a couple of questions.&amp;nbsp; Say I have an area with multiple room types like in my surgery group.&amp;nbsp; Can I do a repeating section with my repeating table inside of it, feel it out and save it as the template?&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Slow View</title><link>https://www.infopathdev.com:443/forums/thread/36649.aspx</link><pubDate>Tue, 06 Jan 2009 17:27:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36649</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36649.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36649</wfw:commentRss><description>&lt;p&gt;Yes, it would be nice if you could populate static text from a secondary data source just like that, but I&amp;#39;m afraid that there&amp;#39;s no way to copy repeating data without code.&amp;nbsp; Anyway, good luck with the method I described, and let me know if we should start exploring other options.&lt;/p&gt;</description></item><item><title>Re: Slow View</title><link>https://www.infopathdev.com:443/forums/thread/36648.aspx</link><pubDate>Tue, 06 Jan 2009 17:16:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36648</guid><dc:creator>murphythadog</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36648.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36648</wfw:commentRss><description>&lt;p&gt;I had put that rule in because I wanted to test a data connection to an external Access Database that i couldn&amp;#39;t get to work.&amp;nbsp; hopeing to populate those static text boxes with the data from the database.&amp;nbsp; it never really works for some reason.&amp;nbsp; maybe i&amp;#39;m not doing it the right way.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;other than that yes, my original file that i uploaded the other day was a trimmed down version because the site wouldn&amp;#39;t let me upload anything larger than 128kb.&amp;nbsp; i had to take out some views.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;I will try your next suggestion of adding the text manually since I can&amp;#39;t seem to get it to automatically fill it in.&amp;nbsp; I may choose one of my larger forms since that&amp;#39;s the one that usually slows it down.&amp;nbsp; I took off the data connection you mentioned so it won&amp;#39;t slow things up.&amp;nbsp; :)&lt;/p&gt;</description></item></channel></rss>