<?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>SQL Database Integration</title><link>https://www.infopathdev.com:443/forums/47.aspx</link><description>For questions concerning issues in the integration of SQL and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: use field-data inside select-command ???</title><link>https://www.infopathdev.com:443/forums/thread/17086.aspx</link><pubDate>Wed, 23 Nov 2005 08:15:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17086</guid><dc:creator>mephisto</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17086.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=17086</wfw:commentRss><description>hello frank,&lt;br /&gt;&lt;br /&gt;thx for your help!&lt;br /&gt;this is so simple and helpful ;-)&lt;br /&gt;&lt;br /&gt;now i can implement my idea ......&lt;br /&gt;&lt;br /&gt;thx&lt;br /&gt;mephisto</description></item><item><title>Re: use field-data inside select-command ???</title><link>https://www.infopathdev.com:443/forums/thread/17085.aspx</link><pubDate>Tue, 22 Nov 2005 17:51:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17085</guid><dc:creator>franck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17085.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=17085</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Yes you can.  You can adapt the SQL statement of following code snippet to your case:&lt;br /&gt;string qry = "MyValue";&lt;br /&gt;ADOAdapterObject oNameTable = (ADOAdapterObject) thisXDocument.DataAdapters["tblTest"];&lt;br /&gt;oNameTable.Command = string.Format("Select * from tblTest where Test = '" + qry + "'");&lt;br /&gt;oNameTable.Query();&lt;br /&gt;&lt;br /&gt;Hope that it helps.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Franck Dauché&lt;br /&gt;InfoPathDev</description></item><item><title>use field-data inside select-command ???</title><link>https://www.infopathdev.com:443/forums/thread/16755.aspx</link><pubDate>Tue, 22 Nov 2005 15:47:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16755</guid><dc:creator>mephisto</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16755.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=16755</wfw:commentRss><description>hello,&lt;br /&gt;&lt;br /&gt;i want to filter a secondary-datasource with the select-command by different data-fields. is it possible?&lt;br /&gt;&lt;br /&gt;e.g.&lt;br /&gt;i have a field called my:fields/my:datestart and i want to filter a table from sql by select ...... where my:fields/my:datestart&amp;lt;='databasefield_date'&lt;br /&gt;&lt;br /&gt;i don´t want to do this by rules! so my question ..... is it possible?&lt;br /&gt;&lt;br /&gt;thx for answers&lt;br /&gt;&lt;br /&gt;mephisto</description></item></channel></rss>