<?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: Submit results of one database to another database</title><link>https://www.infopathdev.com:443/forums/thread/71455.aspx</link><pubDate>Thu, 27 Oct 2011 15:03:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71455</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71455.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=71455</wfw:commentRss><description>&lt;p&gt;The issue is going to be with item 1 - InfoPath secondary data connections to SQL don&amp;#39;t allow you to pass in a value from the form natively. This leaves you with some options:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Write your own code to do this - you&amp;#39;ll need to alter the command of your secondary data connection - here&amp;#39;s an &lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.office.infopath.adoqueryconnection.command.aspx"&gt;MSDN page&lt;/a&gt; with a sample. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Write your own web service to do this - again, this involves writing your own code.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Purchase a web service - Qdabra&amp;#39;s DBXL can do this kind of query - more info &lt;a href="http://www.qdabra.com/en/products/DBXL.aspx"&gt;here&lt;/a&gt;. (Free trial available)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Purchase qRules - it has a command for modifying a SQL query - more info &lt;a href="http://www.qdabra.com/en/products/qRules_new.aspx"&gt;here&lt;/a&gt;. (Free trial available)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Return all rows from database1 and use filters for populating your fields based on the ID your user selects. If database 1 is small, this may be an acceptable solution for you - &lt;a href="http://office.microsoft.com/en-us/infopath-help/filter-the-data-that-is-displayed-in-a-control-HA010024281.aspx#BM1"&gt;this&lt;/a&gt; is an article on add filters that may give you an idea of how to do this - you&amp;#39;d need rules on the field where the user enters the ID to set your other 4 fields based on the data from database 1 having the same ID as that the user entered. If this is an option for you, I can put together a simple sample for you that may help as well.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Hope that helps!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Submit results of one database to another database</title><link>https://www.infopathdev.com:443/forums/thread/71394.aspx</link><pubDate>Tue, 25 Oct 2011 16:47:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71394</guid><dc:creator>w3stfa11</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71394.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=71394</wfw:commentRss><description>&lt;p&gt;This is a desktop form (not web form) using Infopath 2010. &lt;/p&gt;


&lt;p&gt;1. I&amp;#39;d like the user to enter an id number, click next, and then query the database1 for that id and populate 4 fields. &lt;/p&gt;
&lt;p&gt;2. Then just have the user verify the data and then have them click Submit data button to insert those 4 fields into a different database2.&lt;/p&gt;


&lt;p&gt;Right now, they separately look up the information in our custom app and then type it into 4 textbox fields and click submit to enter it into database2. We would like the above method so we can avoid data entry typos and errors.&lt;/p&gt;


Is this possible?


I have connection for database2 able to submit. the secondary connection is read only but I&amp;#39;m not able to connect the two in the process that I want. Any help would be greatly appreciated!


&lt;p&gt;edit: or another option is have a textbox and then once they click a button, have the form run a query based on the ID entered to insert the data.&lt;/p&gt;</description></item></channel></rss>