<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Data Connection Problem</title><link>https://www.infopathdev.com:443/forums/thread/29362.aspx</link><pubDate>Thu, 12 Jun 2008 15:17:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29362</guid><dc:creator>StephanieG</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29362.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=29362</wfw:commentRss><description>&lt;p&gt;That worked beautifully, thank you.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;And thanks for the tip--the form is meant to be printed out and given to the people who have the authority to change the database after they approve the change, so I think it will be ok.&lt;/p&gt;</description></item><item><title>Re: Data Connection Problem</title><link>https://www.infopathdev.com:443/forums/thread/29344.aspx</link><pubDate>Wed, 11 Jun 2008 23:39:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29344</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29344.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=29344</wfw:commentRss><description>&lt;p&gt;Yes this is possible, you could add a condition to your rule which checks if the value is found in the secondary data and if so update but if not would fail.&lt;/p&gt;
&lt;p&gt;One warning, I think you are trying to create a new record based on an existing record.&lt;/p&gt;
&lt;p&gt;Unfortunately this will not work with the basic database connectivity.&lt;/p&gt;
&lt;p&gt;You will end up updating the queried record, not creating a new one in your example above.&lt;/p&gt;
&lt;p&gt;Just so you know.&lt;/p&gt;</description></item><item><title>Re: Data Connection Problem</title><link>https://www.infopathdev.com:443/forums/thread/29342.aspx</link><pubDate>Wed, 11 Jun 2008 23:21:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29342</guid><dc:creator>StephanieG</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29342.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=29342</wfw:commentRss><description>&lt;p&gt;Thanks, I got that working. Now I have another question...&lt;/p&gt;
&lt;p&gt;I want to be able to fill in a partNumber (with the partDescription auto-filling), and then be able to modify the partNumber to one that isn&amp;#39;t in the database without the partDescription changing.&lt;/p&gt;
&lt;p&gt;So if I put in &amp;quot;SP0021-02&amp;quot; for the partNumber, the partDescription fills in as &amp;quot;CR16XX SD/HD/3GIG SW&amp;quot;. Now I want to be able to&amp;nbsp;update the partNumber to &amp;quot;SP0021-03&amp;quot; (which isn&amp;#39;t in the database), without the partDescription changing at all.&lt;/p&gt;
&lt;p&gt;Is that possible?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks again for your quick response.&amp;nbsp;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Data Connection Problem</title><link>https://www.infopathdev.com:443/forums/thread/29298.aspx</link><pubDate>Wed, 11 Jun 2008 02:48:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29298</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29298.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=29298</wfw:commentRss><description>&lt;p&gt;I would do a dump of your secondary data source and check the data that is coming in.&lt;/p&gt;
&lt;p&gt;1 make sure you are querying the dataconnection before you try to use it.&lt;/p&gt;
&lt;p&gt;2 sometimes the SQL can have leading or trailing space or some other reason why the data match might not work.&lt;/p&gt;</description></item><item><title>Data Connection Problem</title><link>https://www.infopathdev.com:443/forums/thread/29285.aspx</link><pubDate>Tue, 10 Jun 2008 16:47:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29285</guid><dc:creator>StephanieG</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29285.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=29285</wfw:commentRss><description>&lt;p&gt;I am designing a simple form in InfoPath 2007, connected to a SQL database. The form has two fields: one is PartNumber, the other is PartDescription. I added a rule so that when the PartNumber matches one in the database, the PartDescription will fill in automatically.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The rule looks like this:&lt;/p&gt;
&lt;p&gt;Set a field&amp;#39;s value: PartDescription = @Description [PartNumber=@StockCode].&lt;/p&gt;
&lt;p&gt;&amp;nbsp;When I fill out the form though, the rule doesn&amp;#39;t work. There isn&amp;#39;t an error message or anything, the PartDescription field just doesn&amp;#39;t fill in. Any suggestions?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item></channel></rss>