<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Secondary connection automatic refresh?</title><link>https://www.infopathdev.com:443/forums/thread/59985.aspx</link><pubDate>Wed, 06 Oct 2010 07:51:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59985</guid><dc:creator>Tuomo Ilonen2</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59985.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=59985</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes secondary data source is only for guiding user who is filling the form, nothing is actually saved to main connection.&lt;/p&gt;
&lt;p&gt;I circled around this problem with OnLoad function in SQL code, probably best way to handle it without web services.&lt;/p&gt;</description></item><item><title>Re: Secondary connection automatic refresh?</title><link>https://www.infopathdev.com:443/forums/thread/59954.aspx</link><pubDate>Tue, 05 Oct 2010 22:02:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59954</guid><dc:creator>Ted Fitch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59954.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=59954</wfw:commentRss><description>&lt;p&gt;If I understand your issue correctly this is happening because you are not storing the values from the secondary data source in the main data source.&amp;nbsp; Data you retrivew with the secondary data source (2DS)&amp;nbsp;is not kept in the form so typically people will get data with the 2DS and then copy what they need into the main data source.&amp;nbsp; Once it&amp;#39;s in the main data source the data is in the XML file associated with that form.&lt;/p&gt;
&lt;p&gt;Also, it sounds like you have a SQL bound form which can be tricky to work with.&amp;nbsp; We typically suggest people don&amp;#39;t use SQL bound forms because it makes modifying your form harder as you need to modify your DB first and then make the changes in the form.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Patrick has a blog about gaps when using SQL bound forms, it is at the bottom of this link here: &lt;a href="http://www.infopathdev.com/blogs/patrick/archive/2010/01/29/infopath-gaps-in-sharepoint-and-sql.aspx"&gt;http://www.infopathdev.com/blogs/patrick/archive/2010/01/29/infopath-gaps-in-sharepoint-and-sql.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;We suggest working with a web service like DBXL (&lt;a href="http://www.qdabra.com/en/products/DBXL.aspx"&gt;http://www.qdabra.com/en/products/DBXL.aspx&lt;/a&gt;) when working with SQL.&amp;nbsp; It really can make things much easier to manage and maintain in the long run.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Ted&lt;/p&gt;</description></item><item><title>Secondary connection automatic refresh?</title><link>https://www.infopathdev.com:443/forums/thread/59570.aspx</link><pubDate>Mon, 04 Oct 2010 06:21:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59570</guid><dc:creator>Tuomo Ilonen2</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59570.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=59570</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I use SQL code to fill in secondary connection fields. I get the values and I submit the form via Email. When receiver opens the form, they can see but empty fields. Where have these values from secondary connection disappeared? Do these secondary connections refresh automatically at&amp;nbsp;some point? What is the best practice to get values remaining?&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t have automatic retrieval of dta in this connection on form opening.&amp;nbsp;I have a database form.&lt;/p&gt;</description></item></channel></rss>