<?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>Re: filter a database connection based on another field</title><link>https://www.infopathdev.com:443/forums/thread/35182.aspx</link><pubDate>Wed, 03 Dec 2008 00:36:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35182</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35182.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=35182</wfw:commentRss><description>&lt;p&gt;Note that you will still end up downloading all items to your form. If you have a large query that could take time. To reduce the time and filter dynamically, take a look at our Web Service Solution Pack which lets you filter SharePoint lists or SQL tables using fields in your form. Because the filtering happens in the Web Service layer, the response time is much better than if the form had copied all of the data down and filtered client-side.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/files/folders/dbxldownload/entry34123.aspx"&gt;http://www.infopathdev.com/files/folders/dbxldownload/entry34123.aspx&lt;/a&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: filter a database connection based on another field</title><link>https://www.infopathdev.com:443/forums/thread/35168.aspx</link><pubDate>Tue, 02 Dec 2008 19:20:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35168</guid><dc:creator>cyberdog</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35168.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=35168</wfw:commentRss><description>&lt;p&gt;Looks as if I need to do it this way. Thanks!&lt;/p&gt;</description></item><item><title>Re: filter a database connection based on another field</title><link>https://www.infopathdev.com:443/forums/thread/35167.aspx</link><pubDate>Tue, 02 Dec 2008 19:08:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35167</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35167.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=35167</wfw:commentRss><description>&lt;p&gt;Well, translate() is a character for character type of thing, so that won&amp;#39;t work.... Can you add another field to your data source? If so, you could use a rule on the text field to set the value of your &amp;#39;helper&amp;#39; field to the appropriate number, then use your &amp;#39;helper&amp;#39; field for your filter.... so your rule would have conditions, like if the field was &amp;#39;FL&amp;#39;, set the helper field value to 1, etc....&lt;/p&gt;</description></item><item><title>Re: filter a database connection based on another field</title><link>https://www.infopathdev.com:443/forums/thread/35165.aspx</link><pubDate>Tue, 02 Dec 2008 18:45:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35165</guid><dc:creator>cyberdog</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35165.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=35165</wfw:commentRss><description>&lt;p&gt;Yes, I thought of that but the problem is that the field already exists in online database and I cannot change it to a number field. If this is the only way to do it, then I will have to add a new field to the database. There is no way to create a formula to look at the field and convert it to a number? &lt;/p&gt;
&lt;p&gt;thanks!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: filter a database connection based on another field</title><link>https://www.infopathdev.com:443/forums/thread/35159.aspx</link><pubDate>Tue, 02 Dec 2008 17:49:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35159</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35159.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=35159</wfw:commentRss><description>&lt;p&gt;You could change your initial textbox (with the value of FL, GA or PR) to a drop down list. Your &amp;#39;Display&amp;#39; text could be FL, GA or PR, and your &amp;#39;Value&amp;#39; could be the corresponding number that is correct for that field...Then when the user selects &amp;#39;FL&amp;#39; the actual field value would be 1 and you&amp;#39;d be able to filter with that.&lt;/p&gt;</description></item><item><title>filter a database connection based on another field</title><link>https://www.infopathdev.com:443/forums/thread/35154.aspx</link><pubDate>Tue, 02 Dec 2008 16:19:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35154</guid><dc:creator>cyberdog</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35154.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=35154</wfw:commentRss><description>&lt;p&gt;I looked and didn&amp;#39;t see an answer to my question. I have a text field with a value of FL, GA, or PR. I have another field that is based on an external database connection. I need to filter the data based on the state field. However, the database connection has a field that is a number 1= FL, 2= GA, and 3 = PR. How do I write a formula or whatever so that the filter works correctly?&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>