<?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: Template part and data connections</title><link>https://www.infopathdev.com:443/forums/thread/68790.aspx</link><pubDate>Wed, 27 Jul 2011 23:55:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68790</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68790.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=68790</wfw:commentRss><description>&lt;p&gt;Hi Nancy,&lt;/p&gt;
&lt;p&gt;You could use a repeating table and populate the label from a secondary data source (XML resource file) included in the XTP using an expression boxes (same as &amp;quot;calculated value&amp;quot; in 2010).&lt;/p&gt;
&lt;p&gt;XTPs include the data connections (DCs). So, as long as you create the data connection and convert it to a Universal Data Connection stored on SharePoint, the XTP will add the DC to your form automatically. If you doin&amp;#39;t have SharePoint or need offline (sorry, but I forget), you can just leave the DC in the form as a non-converted DC and it should still copy over fine. &lt;/p&gt;
&lt;p&gt;Best of luck!&lt;/p&gt;</description></item><item><title>Template part and data connections</title><link>https://www.infopathdev.com:443/forums/thread/68760.aspx</link><pubDate>Tue, 26 Jul 2011 22:41:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68760</guid><dc:creator>Nancy Young</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68760.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=68760</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;ve just created a form that has several data connections for receiving data.&amp;nbsp; There are also about a hundred rows of label, date picker, text box, check box (without a label), text box (multiple lines).&amp;nbsp; The last 4 controls are exactly the same, but the labels are all different, so that excludes a repeating table, since the RT is repeating at runtime, not in dev, so I can&amp;#39;t add labels.&amp;nbsp; Is there an elegant way to create a form like this?&amp;nbsp; I was thinking template part for the 4 controls, but then there are spacing issues.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Also, how can I create a template part that I can reuse, but has the same data connections that my parent form has, without duplicating the data connections?&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;IP 2007, not browser-enabled due to rich text and multiple choice fields.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks as always,&lt;/p&gt;
&lt;p&gt;Nancy&lt;/p&gt;</description></item></channel></rss>