<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Using a text box to pass a parameter to a data source</title><link>https://www.infopathdev.com:443/forums/thread/45847.aspx</link><pubDate>Fri, 14 Aug 2009 02:30:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45847</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45847.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=45847</wfw:commentRss><description>&lt;p&gt;You need a query method to pass a query parameterm which a DB receive DC does not have.&amp;nbsp; You need a web service to interact with the db.&lt;/p&gt;</description></item><item><title>Using a text box to pass a parameter to a data source</title><link>https://www.infopathdev.com:443/forums/thread/45802.aspx</link><pubDate>Thu, 13 Aug 2009 03:34:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45802</guid><dc:creator>moggy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45802.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=45802</wfw:commentRss><description>&lt;p&gt;I have a main data source&amp;nbsp;&lt;/p&gt;
&lt;p&gt;it has fields such as ID, Name, description&lt;/p&gt;
&lt;p&gt;I have a secondary data source to recieve data from sql server - if I run the query it would return over 20K records, so putting the values in a drop down list to select from is not an option.&lt;/p&gt;
&lt;p&gt;So I thought - text box, then add some rules to the text box to set the value of the ID of the data source, send a query then set the values returned into the fields in the main datasource&lt;/p&gt;
&lt;p&gt;However I always get the error the parameter is incorrect They are both the same data type.&lt;/p&gt;</description></item></channel></rss>