<?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: Check if a value already exist</title><link>https://www.infopathdev.com:443/forums/thread/17098.aspx</link><pubDate>Mon, 12 Dec 2005 20:55:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17098</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17098.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=17098</wfw:commentRss><description>Make sure your XPath is right. Also, if you get an object expected error, maybe that means that there were no rows that matched your criteria in the database, which tells you what you need to know.&lt;br /&gt;&lt;br /&gt;What exactly is your error and could you give us the code snippet that is performing your query?&lt;br /&gt;&lt;br /&gt;---------------&lt;br /&gt;Matt Faus&lt;br /&gt;InfoPath Dev Texas&lt;br /&gt;</description></item><item><title>Re: Check if a value already exist</title><link>https://www.infopathdev.com:443/forums/thread/17097.aspx</link><pubDate>Mon, 12 Dec 2005 20:13:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17097</guid><dc:creator>bslaght</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17097.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=17097</wfw:commentRss><description>I am not having much luck here, getting a debug error, says object expected.  Thoughts?</description></item><item><title>Re: Check if a value already exist</title><link>https://www.infopathdev.com:443/forums/thread/17096.aspx</link><pubDate>Fri, 09 Dec 2005 20:24:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17096</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17096.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=17096</wfw:commentRss><description>Just ask the database if it has one already in there:&lt;br /&gt;&lt;br /&gt;var query = "SELECT id from mytable where id=" + XDocument.DOM.selectSingleNode( "//my:id" ).text;&lt;br /&gt;&lt;br /&gt;If it returns a row, then you know there is already an ID of that value in the database, if it doesn't you're in luck!&lt;br /&gt;&lt;br /&gt;Hope this helps!&lt;br /&gt;&lt;br /&gt;---------------&lt;br /&gt;Matt Faus&lt;br /&gt;</description></item><item><title>Check if a value already exist</title><link>https://www.infopathdev.com:443/forums/thread/16760.aspx</link><pubDate>Fri, 09 Dec 2005 19:46:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16760</guid><dc:creator>bslaght</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16760.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=16760</wfw:commentRss><description>My form hits an SQL database, I want to check to see if a value entered into a text box already exist in the database.&lt;br /&gt;&lt;br /&gt;Basically I want to make sure that the number (Member ID) is unique within the database.&lt;br /&gt;&lt;br /&gt;Any Ideas?</description></item></channel></rss>