<?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: Update a record</title><link>https://www.infopathdev.com:443/forums/thread/35343.aspx</link><pubDate>Fri, 05 Dec 2008 05:52:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35343</guid><dc:creator>santhoshp</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35343.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=35343</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you change the quote number and submit the form it just updates the record in DB. To insert a new record in DB, you have to insert a new record in form and submit to DB.&lt;/p&gt;</description></item><item><title>Re: Update a record</title><link>https://www.infopathdev.com:443/forums/thread/35342.aspx</link><pubDate>Fri, 05 Dec 2008 05:52:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35342</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35342.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=35342</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When you hit the submit button, check whether that quote number is existed or not in the line items. If it is available then update the existing one. If not, then write the logic to add a new record in line items.&lt;/p&gt;</description></item><item><title>Update a record</title><link>https://www.infopathdev.com:443/forums/thread/35307.aspx</link><pubDate>Thu, 04 Dec 2008 15:53:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35307</guid><dc:creator>clawrence</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35307.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=35307</wfw:commentRss><description>&lt;p&gt;I have a very simple form that&amp;#39;s conncting to a SQL database.&amp;nbsp; The database has two tables - Quotes, and Line Items.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m able to submit quotes.&amp;nbsp; I can then query a quote, and add a line item to it, and when I submit it, it updates the Line Items table as it should.&lt;/p&gt;
&lt;p&gt;The problem I&amp;#39;m running into is this: I want to open up a quote, and change the quote number.&amp;nbsp; In doing so, if I hit submit, it should submit a new record with all the same information but a new quote number.&lt;/p&gt;
&lt;p&gt;Is this possible?&lt;/p&gt;</description></item></channel></rss>