<?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>Qdabra Database Accelerator</title><link>https://www.infopathdev.com:443/forums/61.aspx</link><description>Qdabra Database Accelerator (DBXL) simplifies connecting InfoPath to SQL Server and SharePoint for codeless storage, permissions, workflow, and reporting on InfoPath forms. This forum also supports users of Qdabra's WSSP.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Filtering results with Database Enumeration Service</title><link>https://www.infopathdev.com:443/forums/thread/24041.aspx</link><pubDate>Mon, 29 Oct 2007 22:14:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24041</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24041.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=24041</wfw:commentRss><description>&lt;p&gt;Excellent, I&amp;#39;ll give it a shot. Thanks!&lt;/p&gt;</description></item><item><title>Re: Filtering results with Database Enumeration Service</title><link>https://www.infopathdev.com:443/forums/thread/24023.aspx</link><pubDate>Sun, 28 Oct 2007 21:05:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24023</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24023.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=24023</wfw:commentRss><description>&lt;p&gt;Ah yes, now I remember.&amp;nbsp; You can actually do rudimentary filtering.&amp;nbsp; columns is the list of columns that you want to return.&amp;nbsp; filterColumns are the columns that you want to filter on.&amp;nbsp; filterCriteria are the values for each of the columns.&amp;nbsp; The number of filterColumns nodes must match the number of filterCritiria nodes.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The following SOAP payload would generate the below SQL query.&lt;/p&gt;
&lt;p&gt;columns&lt;/p&gt;
&lt;p&gt;-- Col1&lt;/p&gt;
&lt;p&gt;-- Col2&lt;/p&gt;
&lt;p&gt;filterColumns&lt;/p&gt;
&lt;p&gt;-- Col3&lt;/p&gt;
&lt;p&gt;-- Col4&lt;/p&gt;
&lt;p&gt;filterCritieria&lt;/p&gt;
&lt;p&gt;-- &amp;quot;Matt&amp;quot;&lt;/p&gt;
&lt;p&gt;-- &amp;quot;Faus&amp;quot;&lt;/p&gt;
&lt;p&gt;SELECT Col1, Col2 from &amp;lt;database&amp;gt;.&amp;lt;table&amp;gt; WHERE Col3 = &amp;#39;Matt&amp;#39; and Col4 = &amp;#39;Faus&amp;#39;&lt;/p&gt;</description></item><item><title>Re: Filtering results with Database Enumeration Service</title><link>https://www.infopathdev.com:443/forums/thread/23999.aspx</link><pubDate>Thu, 25 Oct 2007 22:32:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23999</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23999.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=23999</wfw:commentRss><description>&lt;p&gt;Sorry for the double reply;&amp;nbsp;couldn&amp;#39;t attach two documents in one post.&lt;/p&gt;</description></item><item><title>Re: Filtering results with Database Enumeration Service</title><link>https://www.infopathdev.com:443/forums/thread/23998.aspx</link><pubDate>Thu, 25 Oct 2007 22:31:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23998</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23998.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=23998</wfw:commentRss><description>&lt;p&gt;Thanks for the follow up, Matt.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m attaching the screenshots of the Data Connection Wizard for GetColumnsForRows and GetRowsForColumns. These include filtering options. However, according to your response, I understand these are not used. Is that correct?&lt;/p&gt;
&lt;p&gt;I also notice that GetColumnsForRows2 and 2b differ only in the whether the XMLquery is considered a string (2b) or not (2). I don&amp;#39;t see any further differences, but let me know if there are.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;E&lt;/p&gt;</description></item><item><title>Re: Filtering results with Database Enumeration Service</title><link>https://www.infopathdev.com:443/forums/thread/23975.aspx</link><pubDate>Thu, 25 Oct 2007 02:51:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23975</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23975.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=23975</wfw:commentRss><description>&lt;p&gt;Only the methods with a queryXml parameter allow you to filter and sort the results.&amp;nbsp; Therefore, the GetColumnsForRows2 method does allow this, while the others simply return everything in the table.&lt;/p&gt;</description></item><item><title>Re: Filtering results with Database Enumeration Service</title><link>https://www.infopathdev.com:443/forums/thread/23969.aspx</link><pubDate>Wed, 24 Oct 2007 20:52:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23969</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23969.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=23969</wfw:commentRss><description>&lt;p&gt;Does filtering work in a similar manner for the other 3 methods? (i.e. other than GetColumnsForRows2b)&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>Re: Filtering results with Database Enumeration Service</title><link>https://www.infopathdev.com:443/forums/thread/23638.aspx</link><pubDate>Wed, 10 Oct 2007 20:37:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23638</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23638.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=23638</wfw:commentRss><description>&lt;p&gt;Success! Thank you!&lt;/p&gt;</description></item><item><title>Re: Filtering results with Database Enumeration Service</title><link>https://www.infopathdev.com:443/forums/thread/23636.aspx</link><pubDate>Wed, 10 Oct 2007 20:15:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23636</guid><dc:creator>Jim Cantwell</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23636.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=23636</wfw:commentRss><description>&lt;p&gt;The queryXml parameter to GetColumnsForRows2b is a string.&amp;nbsp; You will need to encode the xml into a string (replacement of &amp;lt; with &amp;amp;lt; &amp;gt; with &amp;amp;gt; etc...) or use the DOM apis to set the node text value which will encode the value for you.&lt;/p&gt;</description></item><item><title>Re: Filtering results with Database Enumeration Service</title><link>https://www.infopathdev.com:443/forums/thread/23633.aspx</link><pubDate>Wed, 10 Oct 2007 19:14:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23633</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23633.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=23633</wfw:commentRss><description>&lt;p&gt;Hi Matt, I followed your steps and understand what the process is, but after I inject the xml into the data connection&amp;#39;s .xml file the query fails to connect. Here&amp;#39;s my query:&lt;/p&gt;
&lt;p&gt;&amp;lt;query&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;columns&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;column name=&amp;quot;ID&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;column name=&amp;quot;Name&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;column name=&amp;quot;Code&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;column name=&amp;quot;ClientId&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;column name=&amp;quot;PrimaryContact&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;column name=&amp;quot;StartDate&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;column name=&amp;quot;TotalBudget&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;column name=&amp;quot;Billable&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;column name=&amp;quot;Active&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;column name=&amp;quot;DocId&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;/columns&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;sort&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;column name=&amp;quot;Name&amp;quot; order=&amp;quot;DESC&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;/sort&amp;gt;&lt;br /&gt;&amp;lt;/query&amp;gt;&lt;/p&gt;
&lt;p&gt;I am attaching screenshots of the Infopath error message returned. &lt;/p&gt;
&lt;p&gt;My first guess would be that there is something wrong with the query itself, because&amp;nbsp;without the query&amp;nbsp;above the service works perfectly. From the documents listed in my original post, I understand that all the columns need to be listed in the query, even if the filtering/sorting performed does not involve all the columns. Still, is there anything that stands out as incorrect in the query above?&lt;/p&gt;
&lt;p&gt;Thanks again for your help.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Filtering results with Database Enumeration Service</title><link>https://www.infopathdev.com:443/forums/thread/23582.aspx</link><pubDate>Tue, 09 Oct 2007 21:23:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23582</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23582.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=23582</wfw:commentRss><description>&lt;p&gt;Hola Ernesto!&lt;/p&gt;
&lt;p&gt;I agree this can be a little tricky.&amp;nbsp; The problem is the simplicity of the Data Connection Wizard in InfoPath.&amp;nbsp; It has a hard time describing all but the top levels of the SOAP package used for it&amp;#39;s parameters.&amp;nbsp; It&amp;#39;s great that you have your XML query built,&amp;nbsp;but now you have to inject it in the right place.&amp;nbsp; To do this, you have to edit the source files of your template.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Open your template in Design mode.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;From the file menu, select &amp;quot;Save as Source Files&amp;quot;, or &amp;quot;Export Files&amp;quot; in 2003.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Save the files to a location on your disk that you can easily remember.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Open this folder in Windows Explorer, and open the XML file corresponding to your new data connection in a text editor, such as Notepad.&amp;nbsp; &lt;/div&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;If you used to default values in the Data Connection Wizard, this will be named &amp;quot;GetColumnsForRows2b.xml&amp;quot;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;li&gt;
&lt;div&gt;Inject your forumluated queryXml node into the /dfs:myfields/dfs:queryFields/tns:GetColumnsForRows2b/tns:queryXml node.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Save this file, right-click the manifest.xsf in the Designer, and then select Design.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Republish your forms back into an XSN, and try it out.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Now, filtering should work, but if you look at the&amp;nbsp;DOM for your EnumDB connection in the Data Source taskpane you will see that the nodes you injected under the queryXml node are not displayed.&amp;nbsp; This is a bit confusing, because the XML is still actually there, it&amp;#39;s just that the designer does not recognize it.&amp;nbsp; InfoPath does not validate XML against its corresponding&amp;nbsp;XSD for secondary data connections, which allows this discrepancy to exist.&amp;nbsp; The primary problem is that the only way you can access those nodes via rules or other declaritive logic in the form is by manually typing the XPaths.&amp;nbsp; To remedy this, and allow full use of the nodes under your queryXml node, you will have to update the appropriate&amp;nbsp;XSD file to add the nodes you injected into the XML.&lt;/p&gt;
&lt;p&gt;I hope this helps, let us know how things turn out!&lt;/p&gt;</description></item><item><title>Filtering results with Database Enumeration Service</title><link>https://www.infopathdev.com:443/forums/thread/23576.aspx</link><pubDate>Tue, 09 Oct 2007 19:31:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23576</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23576.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=23576</wfw:commentRss><description>&lt;p&gt;Hello everyone!&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using the Database Enumeration Service to populate a dropdown in a form. I have followed these two documents to learn about the Database Enumeration Service.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;How To - Sort and Filter Database Results with DatabaseEnumerationService (&lt;a href="http://www.infopathdev.com/files/folders/dbxl/entry22514.aspx"&gt;http://www.infopathdev.com/files/folders/dbxl/entry22514.aspx&lt;/a&gt;)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Using Database filtering to Populate Drop-Down Menus (&lt;a href="http://www.infopathdev.com/files/folders/dbxl/entry19826.aspx"&gt;http://www.infopathdev.com/files/folders/dbxl/entry19826.aspx&lt;/a&gt;)&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;I&amp;#39;ve used the service succesfully to populate a dropdown in a form, and I am now interested in filtering my results. However, I am confused about how to go about this. I have built my query and saved it as an xml file, but I am not sure how this query gets incorporated into Infopath and/or the Data Connection Wizard.&lt;/p&gt;
&lt;p&gt;Thanks for any help!&lt;br /&gt;&lt;strong&gt;Ernesto&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>