<?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: Dynamically changing DBEnum parameters</title><link>https://www.infopathdev.com:443/forums/thread/24759.aspx</link><pubDate>Wed, 28 Nov 2007 19:39:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24759</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24759.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=24759</wfw:commentRss><description>&lt;p&gt;Oh, that was simple! Thanks Matt.&lt;/p&gt;
&lt;p&gt;Because the problem was elsewhere, it turns out that it doesn&amp;#39;t matter which quotes (single or double) are used. I was succesful using Clay&amp;#39;s reccommendation for inserting single quotes, as well as a reccommendation from this topic (&lt;a href="http://www.infopathdev.com/forums/p/5083/24578.aspx#24578"&gt;http://www.infopathdev.com/forums/p/5083/24578.aspx#24578&lt;/a&gt;), where the double quotes are stored in a separate xml node and inserted in the concat statement. Note, however, that double quotes cannot be inserted within double quotes (i.e. &amp;quot;&amp;quot;&amp;quot;).&lt;/p&gt;</description></item><item><title>Re: Dynamically changing DBEnum parameters</title><link>https://www.infopathdev.com:443/forums/thread/24745.aspx</link><pubDate>Wed, 28 Nov 2007 07:13:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24745</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24745.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=24745</wfw:commentRss><description>&lt;p&gt;Also, be sure that you are not URL encoding in your concat()... Let InfoPath do that itself.&lt;/p&gt;</description></item><item><title>Re: Dynamically changing DBEnum parameters</title><link>https://www.infopathdev.com:443/forums/thread/24741.aspx</link><pubDate>Wed, 28 Nov 2007 03:45:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24741</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24741.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=24741</wfw:commentRss><description>&lt;p&gt;In one that I have working, I have to concat the single quotes seperately. Not sure if this helps or not but thought that&amp;nbsp;I would add this.&lt;/p&gt;
&lt;p&gt;so concat(....&amp;lt;eq&amp;gt;&amp;lt;column name=&amp;quot;, &amp;quot;&amp;#39;&amp;quot;, &amp;quot;Name&amp;quot;, &amp;quot;&amp;#39;&amp;quot;, &amp;quot;/&amp;gt;&amp;lt;value...)&lt;/p&gt;</description></item><item><title>Re: Dynamically changing DBEnum parameters</title><link>https://www.infopathdev.com:443/forums/thread/24738.aspx</link><pubDate>Wed, 28 Nov 2007 00:10:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24738</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24738.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=24738</wfw:commentRss><description>&lt;p&gt;Hi Patrick, single quotes return the same error.&lt;/p&gt;</description></item><item><title>Re: Dynamically changing DBEnum parameters</title><link>https://www.infopathdev.com:443/forums/thread/24710.aspx</link><pubDate>Tue, 27 Nov 2007 04:20:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24710</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24710.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=24710</wfw:commentRss><description>&lt;p&gt;Hi Ernesto,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m wondering if it has something to do with the double quotes getting escaped. Can you try changing the double quotes to single quotes and see if that makes a difference?&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Dynamically changing DBEnum parameters</title><link>https://www.infopathdev.com:443/forums/thread/24709.aspx</link><pubDate>Mon, 26 Nov 2007 23:10:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24709</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24709.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=24709</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve been able to create my query and include the double quotes, thanks to a reply in the topic linked in my previous response. I&amp;#39;m currently using a rule that concatenates the values provided by the user to create the following query:&lt;/p&gt;
&lt;p&gt;&amp;amp;lt;query&amp;amp;gt;&amp;amp;lt;filter&amp;amp;gt;&amp;amp;lt;like&amp;amp;gt;&amp;amp;lt;column name=&amp;quot;Name&amp;quot; /&amp;amp;gt;&amp;amp;lt;value&amp;amp;gt;%1&amp;amp;lt;/value&amp;amp;gt;&amp;amp;lt;/like&amp;amp;gt;&amp;amp;lt;/filter&amp;amp;gt;&amp;amp;lt;/query&amp;amp;gt;&lt;/p&gt;
&lt;p&gt;It looks ok and it has been tested: I created a simple Infopath form that calls DBEnum using this filtering query and it works perfectly. &lt;/p&gt;
&lt;p&gt;However, in the solution where I allow the user to dynamically change the values, the query fails, with the following error: &lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;The SOAP response indicates that an error occurred on the server:&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;System.Web.Services.Protocols.SoapException: El servidor no puede procesar la solicitud. ---&amp;gt; System.ArgumentException: Invalid parameter&lt;br /&gt;Nombre del parámetro: queryXml ---&amp;gt; System.Xml.XmlException: Los datos del nivel de raíz no son válidos. Línea 1, posición 1.&lt;br /&gt;&amp;nbsp;&amp;nbsp; en System.Xml.XmlTextReaderImpl.Throw(Exception e)&lt;br /&gt;&amp;nbsp;&amp;nbsp; en System.Xml.XmlTextReaderImpl.Throw(String res, String arg)&lt;br /&gt;&amp;nbsp;&amp;nbsp; en System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res)&lt;br /&gt;&amp;nbsp;&amp;nbsp; en System.Xml.XmlTextReaderImpl.ParseDocumentContent()&lt;br /&gt;&amp;nbsp;&amp;nbsp; en System.Xml.XmlTextReaderImpl.Read()&lt;br /&gt;&amp;nbsp;&amp;nbsp; en System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)&lt;br /&gt;&amp;nbsp;&amp;nbsp; en System.Xml.XmlDocument.Load(XmlReader reader)&lt;br /&gt;&amp;nbsp;&amp;nbsp; en System.Xml.XmlDocument.LoadXml(String xml)&lt;br /&gt;&amp;nbsp;&amp;nbsp; en Qdabra.DataBaseService.DatabaseEnumerationService.GetColumnsForRows2b(String database, String table, String queryXml)&lt;br /&gt;&amp;nbsp;&amp;nbsp; --- Fin del seguimiento de la pila de la excepción interna ---&lt;br /&gt;&amp;nbsp;&amp;nbsp; en Qdabra.DataBaseService.DatabaseEnumerationService.GetColumnsForRows2b(String database, String table, String queryXml)&lt;br /&gt;&amp;nbsp;&amp;nbsp; --- Fin del seguimiento de la pila de la excepción interna ---&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;If the queryxml works when I insert it manually, why would it fail when the form injects it automatically?&lt;/p&gt;</description></item><item><title>Re: Dynamically changing DBEnum parameters</title><link>https://www.infopathdev.com:443/forums/thread/24632.aspx</link><pubDate>Wed, 21 Nov 2007 21:10:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24632</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24632.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=24632</wfw:commentRss><description>&lt;p&gt;Great! Thanks.&lt;/p&gt;
&lt;p&gt;Now I&amp;#39;m looking at a separate problem. Basically, after receiving the user input and using concat this is the query I have (user input in bold): &lt;/p&gt;
&lt;p&gt;&amp;amp;lt;query&amp;amp;gt;&amp;amp;lt;filter&amp;amp;gt;&amp;amp;lt;like&amp;amp;gt;&amp;amp;lt;column name=&lt;strong&gt;Name&lt;/strong&gt; /&amp;amp;gt;&amp;amp;lt;value&amp;amp;gt;&lt;strong&gt;%1&lt;/strong&gt;&amp;amp;lt;/value&amp;amp;gt;&amp;amp;lt;/like&amp;amp;gt;&amp;amp;lt;/filter&amp;amp;gt;&amp;amp;lt;/query&amp;amp;gt;&lt;/p&gt;
&lt;p&gt;And this is the query I need: &lt;/p&gt;
&lt;p&gt;&amp;amp;lt;query&amp;amp;gt;&amp;amp;lt;filter&amp;amp;gt;&amp;amp;lt;like&amp;amp;gt;&amp;amp;lt;column name=&amp;quot;&lt;strong&gt;Name&lt;/strong&gt;&amp;quot; /&amp;amp;gt;&amp;amp;lt;value&amp;amp;gt;&lt;strong&gt;%1&lt;/strong&gt;&amp;amp;lt;/value&amp;amp;gt;&amp;amp;lt;/like&amp;amp;gt;&amp;amp;lt;/filter&amp;amp;gt;&amp;amp;lt;/query&amp;amp;gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using concat and it won&amp;#39;t allow me to use a double quote (&amp;quot;) around the column name. I&amp;#39;ve posted that question here: &lt;a href="http://www.infopathdev.com/forums/p/5083/19570.aspx"&gt;http://www.infopathdev.com/forums/p/5083/19570.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Dynamically changing DBEnum parameters</title><link>https://www.infopathdev.com:443/forums/thread/24586.aspx</link><pubDate>Wed, 21 Nov 2007 02:16:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24586</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24586.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=24586</wfw:commentRss><description>&lt;p&gt;Hi Ernesto,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;This scenario is why there are two versions of this method: 2 and 2b.&amp;nbsp; If you use the 2b method, the queryXml node will show up as a regular textbox node in the schema, just like database and table.&amp;nbsp; With this node you can fill it with the result of a concat() operation that takes values from other nodes and generates an XML fragment from them.&lt;/p&gt;
&lt;p&gt;So, you would create another secondary data connection, called QueryBuilder, and it will have the schema of the actual queryXml node.&amp;nbsp; After that is filled out, you can use a concat() (probably combined with some complicated eval() operations) to generate the XML fragment.&amp;nbsp; Then assign this fragment to the queryXml node, and you should be set!&lt;/p&gt;
&lt;p&gt;Hope this helps!&lt;/p&gt;</description></item><item><title>Dynamically changing DBEnum parameters</title><link>https://www.infopathdev.com:443/forums/thread/24579.aspx</link><pubDate>Tue, 20 Nov 2007 22:28:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24579</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24579.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=24579</wfw:commentRss><description>&lt;p&gt;I have succesfully created a form based on a Web Service that allows the user to dynamically change the parameters used to query the Database Enumeration Service.&amp;nbsp;The user enters a database and a table and clicks a button to launch the query.&lt;/p&gt;
&lt;p&gt;However, now I&amp;#39;d like to allow the user to create the filtering query on the fly. I can use concat to &amp;quot;gather&amp;quot; and arrange various input fields into the filtering query, but I don&amp;#39;t know how to insert the contents of this fields into the .&lt;/p&gt;
&lt;p&gt;I notice that when I save the source files I do not get a GetColumnsForRows2.xml that I can edit (as indicated in the&amp;nbsp;help documents). I notice that the filter queryXML is created as a section, but I&amp;#39;m unable to edit it (see Data Source attached).&lt;/p&gt;
&lt;p&gt;So, to summarize my goal: query using DBEnum, by allowing the user to feed each piece of information (database, table, column, queryxml filter) into a form and click a button, instead of &amp;quot;hard-coding&amp;quot; all that information using the Data Connection Wizard.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item></channel></rss>