<?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: Connect and query a large SQL database</title><link>https://www.infopathdev.com:443/forums/thread/26799.aspx</link><pubDate>Wed, 27 Feb 2008 06:12:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26799</guid><dc:creator>saudak</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26799.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=26799</wfw:commentRss><description>&lt;p&gt;Thanx guys ,&lt;/p&gt;&lt;p&gt;I would love to use the trick given by nukkumatti but Im a little novice in infopath to comply understand it.&lt;/p&gt;&lt;p&gt;I
would be glad if you gave me a tutorial to use a webservice&amp;nbsp; (I mean
install in the AD) and small little function to connect to infopath and
return values.&lt;/p&gt;&lt;p&gt;Thanx again.&amp;nbsp;&lt;/p&gt;&lt;p&gt;oh.... And some tutorials on filters please! &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Connect and query a large SQL database</title><link>https://www.infopathdev.com:443/forums/thread/26758.aspx</link><pubDate>Tue, 26 Feb 2008 14:13:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26758</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26758.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=26758</wfw:commentRss><description>&lt;p&gt;&lt;a href="http://www.infopathdev.com/forums/p/6799/24888.aspx#24888"&gt;http://www.infopathdev.com/forums/p/6799/24888.aspx#24888&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Connect and query a large SQL database</title><link>https://www.infopathdev.com:443/forums/thread/26750.aspx</link><pubDate>Tue, 26 Feb 2008 07:01:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26750</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26750.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=26750</wfw:commentRss><description>&lt;p&gt;You need to use a filter.&lt;/p&gt;
&lt;p&gt;So when you set field two you want to select the field from your data connection but use the filter button in the lower left and add the filter&lt;/p&gt;
&lt;p&gt;where ID = IDfield in your form. This then will grab the&amp;nbsp;person you want not just the first one.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;If you have a million records you are going to want to use a query and not try and load a million records into your form, which it will do by default.&lt;/p&gt;
&lt;p&gt;A database form built from scratch might work or you should look at adding web services to your data base so you can dynamically query all you want.&lt;/p&gt;
&lt;p&gt;That is what I use.&amp;nbsp; If you would like a demonstration let me know.&lt;/p&gt;</description></item><item><title>Connect and query a large SQL database</title><link>https://www.infopathdev.com:443/forums/thread/26745.aspx</link><pubDate>Tue, 26 Feb 2008 05:54:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26745</guid><dc:creator>saudak</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26745.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=26745</wfw:commentRss><description>&lt;p&gt;Hi,&lt;br /&gt;I can connect to an SQL table that has a million records,&lt;br /&gt;its just ID, NAME&lt;br /&gt;I want to do is, I enter the ID I get the exact name.&lt;br /&gt;How do I write it using 2 textboxes,&lt;br /&gt;one for the ID and the other should have the name automatically show up,&lt;/p&gt;&lt;p&gt;what I did&amp;gt;&amp;gt;&lt;/p&gt;&lt;p&gt;in a new blank from, Tool&amp;gt;&amp;gt;Data connection, Add&amp;gt;&amp;gt;Recieve data&amp;gt;&amp;gt;Database(SQL or access)&amp;gt;&amp;gt;Select Database, selected the&amp;nbsp; odc file created for the table. &amp;gt;&amp;gt;Finish&lt;/p&gt;&lt;p&gt;I add 2 TextBoxes &lt;/p&gt;&lt;p&gt;For one I created a rule, set condition to field1=ID then - &lt;b&gt;action1&lt;/b&gt;: query data connection, &lt;b&gt;action2&lt;/b&gt;: Set field&amp;#39;s value field2 to @FIRST_NAME (from the data connection)&lt;/p&gt;&lt;p&gt;This does not work it shows the&amp;gt;&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;quot;&lt;i&gt;The following DataObject either cannot be created or cannot be initialized: PERSON&lt;br /&gt;The query cannot be run for the following DataObject: PERSON&lt;br /&gt;InfoPath cannot run the specified query.&lt;br /&gt;[0x8007000E][Microsoft OLEDB Persistence Provider] Not enough storage is available to complete this operation.&lt;/i&gt;&amp;quot;&lt;/p&gt;&lt;p&gt;I tried the same thing with the pubs database, at least it shows up but the&amp;nbsp; query does not work , ie. Even if I enter any ID it shows up the first record as name.&lt;/p&gt;&lt;p&gt;Where am I wrong?&lt;br /&gt;Help plz &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>