<?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: InfoPath form from an existing Data Source</title><link>https://www.infopathdev.com:443/forums/thread/23107.aspx</link><pubDate>Mon, 17 Sep 2007 15:16:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23107</guid><dc:creator>m181354</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23107.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=23107</wfw:commentRss><description>&lt;p&gt;I figured out my last question...thanks for all your help.....you have bee a life saver!&lt;/p&gt;</description></item><item><title>Re: InfoPath form from an existing Data Source</title><link>https://www.infopathdev.com:443/forums/thread/23106.aspx</link><pubDate>Mon, 17 Sep 2007 14:57:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23106</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23106.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=23106</wfw:commentRss><description>&lt;p&gt;You&amp;#39;re welcome. To do what you want you will have to custom-craft the xpath to select the correct item from the FormData repeater. This is because you are in the Main datasource repeating context and so when you bind the other node it has no information on how to pick up the FormData secondary datasource repeater information and render it. I haven&amp;#39;t tried this but I think it should be possible with a simple XPATH that tries to match the current context position() with the FormData context position. Essentially you have to consider that you&amp;#39;re doing an XPATH query into the secondary datasource.&lt;/p&gt;
&lt;p&gt;Thanks and best wishes.&lt;/p&gt;</description></item><item><title>Re: InfoPath form from an existing Data Source</title><link>https://www.infopathdev.com:443/forums/thread/23096.aspx</link><pubDate>Sat, 15 Sep 2007 14:28:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23096</guid><dc:creator>m181354</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23096.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=23096</wfw:commentRss><description>&lt;p&gt;Adding controls with the the &amp;quot;FormData&amp;quot;&amp;nbsp;group node&amp;nbsp;was exactly what I needed to do.&amp;nbsp; Thank you very much. &lt;/p&gt;
&lt;p&gt;One more question.&amp;nbsp; Can you add a repeating table from a Main sata source and also have columns in that table point to&amp;nbsp;another data source (FormData)?&amp;nbsp; I tried this but the column from the &amp;quot;FormData&amp;quot; data source repeats the first enrty I put in.&lt;/p&gt;</description></item><item><title>Re: InfoPath form from an existing Data Source</title><link>https://www.infopathdev.com:443/forums/thread/23087.aspx</link><pubDate>Fri, 14 Sep 2007 16:33:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23087</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23087.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=23087</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Modifying schema created when starting from a database or other data connection: You can do this. Just right-click on the very top node in the Data Source tree and click Add. I always suggest adding a group node that is something like &amp;quot;ViewLogic&amp;quot; or &amp;quot;FormData&amp;quot; and then put all your custom nodes in there. In that way you can add in any custom fields you want. The main data connection will only interact with the query and data fields.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;You can&amp;#39;t move a main data source to a secondary. You either need to start over and copy/paste your view and then rebind the controls or just create your secondary data source as a query data source and go from there.&lt;/p&gt;
&lt;p&gt;To help more specifically, I would need a little more information about your scenario to understand what in your scenario requires the customization and main vs. secondary data source for your query data. With that I could provide best practices guidance.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks, Shiraz&lt;/p&gt;</description></item><item><title>Re: InfoPath form from an existing Data Source</title><link>https://www.infopathdev.com:443/forums/thread/23080.aspx</link><pubDate>Fri, 14 Sep 2007 15:15:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23080</guid><dc:creator>m181354</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23080.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=23080</wfw:commentRss><description>&lt;div align="left"&gt;&lt;span class="524160215-14092007"&gt;&lt;font face="Arial" color="#0000ff" size="2"&gt;I posted several items on the forum and have been given helpful hints but I still don&amp;#39;t have a solution.&amp;nbsp; I thought I would email you my question so I can put it all together on one spot and I will also post it.&amp;nbsp; I have an Infopath form that I created using an existing database,&amp;nbsp;I did this because I wanted the query capability that was built in when you did it this way. &amp;nbsp;I need to add new controls that are not tied to a data source(the way you can do it if you&amp;nbsp;create an Infopath form from a blank form where it is editable and you can create as many control as you want).&amp;nbsp; I need to add text boxes and repeating tables with the capability to add up the columns. I assume it is building the xml for you in that situation.&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align="left"&gt;&lt;span class="524160215-14092007"&gt;&lt;font face="Arial" color="#0000ff" size="2"&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div align="left"&gt;&lt;span class="524160215-14092007"&gt;&lt;font face="Arial" color="#0000ff" size="2"&gt;Can I change the Main data source on a form after it has been created?&amp;nbsp; I would like to make the Main data source I have now a secondary data source but still keep the query capability.&amp;nbsp; I started to do this on a new form but I could not get the query to work.&amp;nbsp; Looks like when you create a form from an existing data source it combines the query and data into one source so the query can work.&amp;nbsp; I tried adding two data sources (one for data and one for query) to a new form but it did not work.&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align="left"&gt;&lt;span class="524160215-14092007"&gt;&lt;font face="Arial" color="#0000ff" size="2"&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div align="left"&gt;&lt;span class="524160215-14092007"&gt;&lt;font face="Arial" color="#0000ff" size="2"&gt;Any help is appreciated.&amp;nbsp; I am&amp;nbsp;late on my ETC date and am willing to what it takes to get it done. I have not done any coding on the&amp;nbsp;form and do not have much experience in doing it. &lt;/font&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;</description></item><item><title>Re: InfoPath form from an existing Data Source</title><link>https://www.infopathdev.com:443/forums/thread/23072.aspx</link><pubDate>Fri, 14 Sep 2007 11:32:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23072</guid><dc:creator>m181354</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23072.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=23072</wfw:commentRss><description>&lt;p&gt;Can you change the MAIN data source once you have created the form?&amp;nbsp; I want to change my current form that was created from an existig data source to a blank form so I can add new controls.&amp;nbsp; I tried to start over and create the form again from a blank form but I could not the the query part to work.&amp;nbsp; I did&amp;nbsp;what you said earler.&amp;nbsp; I noticed in the data source that the Data and Query schema is listed together under the same MAIN data source when I created the form from an existing data source. Is this what makes it&amp;nbsp; work.&amp;nbsp; I created 2 secondary data sources on the new form...one for the data and one for the query...but get the query to pull in the data. &lt;/p&gt;</description></item><item><title>Re: InfoPath form from an existing Data Source</title><link>https://www.infopathdev.com:443/forums/thread/23065.aspx</link><pubDate>Fri, 14 Sep 2007 02:27:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23065</guid><dc:creator>davidair</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23065.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=23065</wfw:commentRss><description>&lt;p&gt;All* controls have to&amp;nbsp;be connected to something, either main data source or a secondary one.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The thing is, when you create a form from data source, your &lt;strong&gt;main &lt;/strong&gt;data source will be typically locked and you won&amp;#39;t be able to modify it.&lt;/p&gt;
&lt;p&gt;When you create a blank form the main data source is editable and you can add as many controls as you want.&lt;/p&gt;
&lt;p&gt;* Controls such as buttons, hyperlinks and expression boxes do not need to be connected to a data source.&lt;/p&gt;</description></item><item><title>Re: InfoPath form from an existing Data Source</title><link>https://www.infopathdev.com:443/forums/thread/23064.aspx</link><pubDate>Fri, 14 Sep 2007 01:08:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23064</guid><dc:creator>m181354</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23064.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=23064</wfw:commentRss><description>&lt;p&gt;I&amp;nbsp;am using InfoPath 2003.&amp;nbsp; Why is that when I started with a blank form(Main Submit) I could add controls without connecting them to a data source or I could use the&amp;nbsp;secondary data connections I setup?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Could I change how I have my current form (created from an existing data source) similiar to&amp;nbsp;my first form?&amp;nbsp; The main&amp;nbsp;data connection&amp;nbsp;just connects to the form and I use secndary data sources when I need to read data in from a Access data base?&lt;/p&gt;
&lt;p&gt;I know I keep asking the sxame question&amp;nbsp;but I am still&amp;nbsp;trying to get my second form to behave like&amp;nbsp;my first form&amp;nbsp;even though I created the first from blank form and the second from a existing data source. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: InfoPath form from an existing Data Source</title><link>https://www.infopathdev.com:443/forums/thread/23053.aspx</link><pubDate>Thu, 13 Sep 2007 20:49:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23053</guid><dc:creator>davidair</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23053.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=23053</wfw:commentRss><description>&lt;p&gt;Yes, there is... which InfoPath are you using, 2003 or 2007? You go Tools | Data Connections | Add, and then add a query connection. Then add a button to your form, add a Rule to the button to Query this connection.&lt;/p&gt;</description></item><item><title>Re: InfoPath form from an existing Data Source</title><link>https://www.infopathdev.com:443/forums/thread/23051.aspx</link><pubDate>Thu, 13 Sep 2007 20:11:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23051</guid><dc:creator>m181354</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23051.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=23051</wfw:commentRss><description>&lt;p&gt;Is there a way to switch my main data source to a secondary data source and still use the query feature?&amp;nbsp; That way I can add controls without having to build a XML file. &lt;/p&gt;</description></item><item><title>Re: InfoPath form from an existing Data Source</title><link>https://www.infopathdev.com:443/forums/thread/23049.aspx</link><pubDate>Thu, 13 Sep 2007 20:09:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23049</guid><dc:creator>m181354</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23049.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=23049</wfw:commentRss><description>&lt;p&gt;When I created my first form, &amp;nbsp;I selected the default form and not an exsting data source, &amp;nbsp;does it use an XML file that Infopath builds for you as you create controls?&lt;/p&gt;</description></item><item><title>Re: InfoPath form from an existing Data Source</title><link>https://www.infopathdev.com:443/forums/thread/23048.aspx</link><pubDate>Thu, 13 Sep 2007 20:03:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23048</guid><dc:creator>davidair</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23048.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=23048</wfw:commentRss><description>&lt;p&gt;Well, your XML will depend on how many controls you want to have and whether or not they repeat or not. If you want to have a repeating table bound to a secondary data source, create an XML which has an element that repeats:&lt;br /&gt;&lt;br /&gt;&amp;lt;myData&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;row&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;column1/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;column2/&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/row&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;row&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;column1/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;column2/&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/row&amp;gt;&lt;br /&gt;&amp;lt;/myData&amp;gt;&lt;/p&gt;
&lt;p&gt;When InfoPath adds this XML as a data source, it will understand that &lt;strong&gt;row&lt;/strong&gt; repeats and you will be able to insert it as a repeating table.&lt;/p&gt;</description></item><item><title>Re: InfoPath form from an existing Data Source</title><link>https://www.infopathdev.com:443/forums/thread/23047.aspx</link><pubDate>Thu, 13 Sep 2007 19:59:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23047</guid><dc:creator>m181354</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23047.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=23047</wfw:commentRss><description>&lt;p&gt;This will allow me to add a text box control that I can add data to or use in a repeating table?&amp;nbsp; I also want to have another control sum the numbers in the column if I use it in a repeating table. &lt;/p&gt;</description></item><item><title>Re: InfoPath form from an existing Data Source</title><link>https://www.infopathdev.com:443/forums/thread/23046.aspx</link><pubDate>Thu, 13 Sep 2007 19:55:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23046</guid><dc:creator>davidair</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23046.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=23046</wfw:commentRss><description>&lt;p&gt;Any XML file will do, such as:&lt;/p&gt;
&lt;p&gt;&amp;lt;myData&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;dataField/&amp;gt;&lt;br /&gt;&amp;lt;myData&amp;gt;&lt;/p&gt;
&lt;p&gt;Just save it anywhere on your disk. Once you add a&amp;nbsp;data source based on it, it will be included as part of the form template so you don&amp;#39;t need to worry about storing it.&lt;/p&gt;</description></item><item><title>Re: InfoPath form from an existing Data Source</title><link>https://www.infopathdev.com:443/forums/thread/23044.aspx</link><pubDate>Thu, 13 Sep 2007 19:28:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23044</guid><dc:creator>m181354</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23044.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=23044</wfw:commentRss><description>&lt;p&gt;Is that what happens when you create a form from a default&amp;nbsp;template and not from a data source?&amp;nbsp; &lt;/p&gt;
&lt;p&gt;On my first form I created, I have a Main data source created from a default template(which was blank).&amp;nbsp; I created a data connection to an Access database but I am also able to create controls without the prompt to connect to a data source which is what I need to do now. &lt;/p&gt;
&lt;p&gt;On my second form, &amp;nbsp;I created the form from an existing data source so I could do a query but now I can not create a control with the data source prompt.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Do you have&amp;nbsp;example of the XML file that I would need to create...and where do&amp;nbsp;I store it?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>