<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Query a range within a row</title><link>https://www.infopathdev.com:443/forums/thread/66080.aspx</link><pubDate>Wed, 20 Apr 2011 17:41:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66080</guid><dc:creator>brandon52</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66080.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=66080</wfw:commentRss><description>I&amp;#39;m not sure if the subject made sense, but I&amp;#39;ll try my best to describe the scenario. I have a sharepoint list that includes the following columns: GeoCode, Zip Code Low Range, Zip Code High Range, Sales Tax, Tax 2.

The infopath 2010 form calculates the total taxes of an amount based on the zip code entered. 

So if my row looked like this: GeoCode = &amp;quot;111-111-1111&amp;quot;, ZIP Low Range = &amp;quot;30700&amp;quot;, Zip High Range = &amp;quot;30720&amp;quot;, Tax1 = &amp;quot;0.2&amp;quot;, Tax2 = &amp;quot;.05&amp;quot; 

The user enters &amp;quot;30715&amp;quot; it would pull back this row with the tax rates and would calculate properly. How would I build this query? Would I need to use code?

Thanks!

Brandon</description></item></channel></rss>