<?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: checking before inserting into database</title><link>https://www.infopathdev.com:443/forums/thread/17278.aspx</link><pubDate>Wed, 17 May 2006 14:21:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17278</guid><dc:creator>Abhishek</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17278.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=17278</wfw:commentRss><description>Hi Saba,&lt;br /&gt;&lt;br /&gt;U need to write code to implement this.&lt;br /&gt;&lt;br /&gt;Write a query in a webservice to find out whether the "From Time" and "To Time" in ur InfoPath form conflicts with the "From Time" and "To Time" entered in the database for a particular room on that particular date.&lt;br /&gt;If there is no conflict,then insert a new row into the database.&lt;br /&gt;&lt;br /&gt;U can implement this on a single call to a web service.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Abhishek&lt;br /&gt;</description></item><item><title>checking before inserting into database</title><link>https://www.infopathdev.com:443/forums/thread/16808.aspx</link><pubDate>Wed, 17 May 2006 08:06:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16808</guid><dc:creator>saba</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16808.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=16808</wfw:commentRss><description>I want submit my forms data to the sql database but before submission ,the values of the fields must be checked with values in database….in other words imagine a room reservation form, before form is submitted to the database it should be investigated that this room in requested time has been reserved before or not if yes showing a message and do not insert a new row into the database…how can I do that  ..what is the solution for checking with database fields and then submit the forms?&lt;br /&gt;&lt;br /&gt;</description></item></channel></rss>