<?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>SQL Database Integration</title><link>https://www.infopathdev.com:443/forums/47.aspx</link><description>For questions concerning issues in the integration of SQL and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Submit to Sql, Query for Auto ID, Use it in submit to sharepoint library</title><link>https://www.infopathdev.com:443/forums/thread/29279.aspx</link><pubDate>Tue, 10 Jun 2008 15:22:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29279</guid><dc:creator>rimbaugk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29279.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=29279</wfw:commentRss><description>&lt;p&gt;I figured out what I had done.&amp;nbsp; I created the data connections and converted them to .udcx but forgot to them remove that and add the .udcx back to the project.&amp;nbsp; All is well now....thanks Clay.&lt;/p&gt;</description></item><item><title>Re: Submit to Sql, Query for Auto ID, Use it in submit to sharepoint library</title><link>https://www.infopathdev.com:443/forums/thread/29248.aspx</link><pubDate>Mon, 09 Jun 2008 17:44:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29248</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29248.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=29248</wfw:commentRss><description>&lt;p&gt;So are you getting the ID returned? but the filename not reflecting it?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I would try making it visible in thebrowser form to test.&lt;/p&gt;
&lt;p&gt;I would try adding a field to your form and use that for the filename to test also.&lt;/p&gt;</description></item><item><title>Re: Submit to Sql, Query for Auto ID, Use it in submit to sharepoint library</title><link>https://www.infopathdev.com:443/forums/thread/29244.aspx</link><pubDate>Mon, 09 Jun 2008 14:34:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29244</guid><dc:creator>rimbaugk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29244.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=29244</wfw:commentRss><description>&lt;p&gt;Thanks Clay.&amp;nbsp; It works in Infopath, but I still must be doing something wrong on the browser side.&amp;nbsp; I defined a data connection and added the SQL to it for Max().&amp;nbsp; Then I used the field when I submit to sharepoint to set it as the filename.&amp;nbsp; When you say move the unique id to the form.....that might be what I&amp;#39;m screwing up since there is no field in the form to store it.&lt;/p&gt;</description></item><item><title>Re: Submit to Sql, Query for Auto ID, Use it in submit to sharepoint library</title><link>https://www.infopathdev.com:443/forums/thread/29237.aspx</link><pubDate>Mon, 09 Jun 2008 09:42:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29237</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29237.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=29237</wfw:commentRss><description>&lt;p&gt;You should be able to query a secondary data connection to your table and get the max() id to get the latest record submitted.&lt;/p&gt;
&lt;p&gt;Then yes, you can move that unique ID into your form and use it in the filename.&lt;/p&gt;</description></item><item><title>Submit to Sql, Query for Auto ID, Use it in submit to sharepoint library</title><link>https://www.infopathdev.com:443/forums/thread/29225.aspx</link><pubDate>Fri, 06 Jun 2008 15:57:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29225</guid><dc:creator>rimbaugk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29225.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=29225</wfw:commentRss><description>&lt;p&gt;I could use a little help with the syntax required to pull this off.&amp;nbsp; I&amp;#39;m am working with Project Requests.&lt;/p&gt;
&lt;p&gt;I have an InfoPath form that submits data to a sql database.&amp;nbsp; Upon submit a unique id is generated in the SQL table which serves as my Project Request ID. The ID field isn&amp;#39;t in my web service.&lt;/p&gt;
&lt;p&gt;Then I want to query that table for whatever key was just created for that record.&lt;/p&gt;
&lt;p&gt;The next submit step is to send it to sharepoint.&lt;/p&gt;
&lt;p&gt;I would like the infopath form file name submitted to sharepoint to be Project Request ID # ......key.&amp;nbsp; That way the forms always have unique names. Am I on the right track?&lt;/p&gt;</description></item></channel></rss>