<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Trouble with creating error messages when a query fails to return the data to the infopath form</title><link>https://www.infopathdev.com:443/forums/thread/64445.aspx</link><pubDate>Tue, 22 Feb 2011 14:09:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64445</guid><dc:creator>radhikakumaran3</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64445.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=64445</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Hello all,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have designed forms in infopath that
queries a sql table and based on the Id_number submitted , returns the
details of the customer.&lt;/p&gt;&lt;p&gt;The problem is in case an Id_number for
which no data is present inthe sql table is submitted, the form jst
gives error like &amp;quot;could not connect to the data source or the session
time out&amp;quot;. I would like to customize the error here , like giving out a
dialog box saying &amp;quot;invalid Id_number&amp;quot;.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;How do I do this?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;To query the table I have used a web service which submits Id_number to the table.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks.. &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>