<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>IF statements and Select All Queries</title><link>https://www.infopathdev.com:443/forums/thread/66840.aspx</link><pubDate>Thu, 26 May 2011 18:27:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66840</guid><dc:creator>michaels2</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66840.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=66840</wfw:commentRss><description>&lt;font size="3" face="Times New Roman"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#505050;FONT-SIZE:10pt;"&gt;My company has created out form and connected to the SQL server, however when we query we get a select all query. How do we set this up so it only queries the invoice number we have added.&lt;br /&gt;&lt;br /&gt;AND&lt;br /&gt;&lt;br /&gt;How can you set up InfoPath to create a new form if the invoice number is not correct?&lt;br /&gt;&lt;br /&gt;Thanks!&lt;/span&gt;&lt;/font&gt;</description></item></channel></rss>