<?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 qRules</title><link>https://www.infopathdev.com:443/forums/131.aspx</link><description>qRules adds support to your InfoPath  forms. With qRules, you can add features to your form that require code, but without having to write it. </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: sorting a repeating table with qRules... problem</title><link>https://www.infopathdev.com:443/forums/thread/44052.aspx</link><pubDate>Thu, 09 Jul 2009 16:56:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44052</guid><dc:creator>harp71</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44052.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=44052</wfw:commentRss><description>&lt;p&gt;That did the trick!&lt;/p&gt;
&lt;p&gt;Many Thanks!&lt;/p&gt;</description></item><item><title>Re: sorting a repeating table with qRules... problem</title><link>https://www.infopathdev.com:443/forums/thread/43913.aspx</link><pubDate>Tue, 07 Jul 2009 22:23:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43913</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43913.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=43913</wfw:commentRss><description>&lt;p&gt;I did a little research into your issue and found what is causing it and a workaround for you.&lt;/p&gt;
&lt;p&gt;The SortTable command is trying to append the rows to the table. The table is being determinded by the row you specify in the command, and then up one level. In your case, the table becomes my:myFields.&lt;/p&gt;
&lt;p&gt;When the rows are sorted, they are appended into the table. This is where the problem occurs because your rows are NOT the bottom-most nodes of the DOM. The command currently is not able to put the rows back into the middle of the DOM tree (which is where they are currently located). This is an issue we have logged and will look at fixing in a future release.&lt;/p&gt;
&lt;p&gt;In the meantime, there are two workarounds:&lt;/p&gt;
&lt;p&gt;1. Move your repeating table into a container group. This is the best option as it componentizes your table and the structure has some advantages in InfoPath. The new structure would look like:&lt;/p&gt;
&lt;p&gt;my:myFields/my:Accomplishments/my:Accomplishment&lt;/p&gt;
&lt;p&gt;where Accomplishments is a group and Accomplishment is the individual repeating row.&lt;/p&gt;
&lt;p&gt;2. Locate your table at the end of your schema. This is not a good option because your schema&amp;nbsp;might later change and you would have to always ensure it stays at the end. Plus if you ever have another table to sort, you run into the same issue for that one.&lt;/p&gt;
&lt;p&gt;We encourage you to choose workaround 1 above as it follows best practices for schema design.&lt;/p&gt;</description></item><item><title>Re: sorting a repeating table with qRules... problem</title><link>https://www.infopathdev.com:443/forums/thread/43911.aspx</link><pubDate>Tue, 07 Jul 2009 21:32:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43911</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43911.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=43911</wfw:commentRss><description>&lt;p&gt;Your syntax seems correct. When I add a new repeating group with fields like those in your current template, everything works. I&amp;#39;ve looked at the form source files to see if I can track down what is causing the error, and don&amp;#39;t see anything....&lt;/p&gt;
&lt;p&gt;I&amp;#39;m going to ask some other members of the team to take a look and see if they see what might be causing this error. &lt;/p&gt;</description></item><item><title>Re: sorting a repeating table with qRules... problem</title><link>https://www.infopathdev.com:443/forums/thread/43908.aspx</link><pubDate>Tue, 07 Jul 2009 20:23:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43908</guid><dc:creator>harp71</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43908.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=43908</wfw:commentRss><description>&lt;p&gt;Here it is... I have reduced this form down to just the offending section along with the Conditional Formatting and Rules that are trying to be applied...&lt;/p&gt;
&lt;p&gt;Conditional formatting works like a champ...&lt;/p&gt;
&lt;p&gt;Rules I cannot make work either in the Repeating Table or off of the Option buttons...&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Just noticed the original form was missing an option button... fixed and here it is again...&lt;/p&gt;</description></item><item><title>Re: sorting a repeating table with qRules... problem</title><link>https://www.infopathdev.com:443/forums/thread/43906.aspx</link><pubDate>Tue, 07 Jul 2009 20:08:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43906</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43906.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=43906</wfw:commentRss><description>&lt;p&gt;Can you attach your template so we can take a look at it?&lt;/p&gt;
&lt;p&gt;When you reply to this post, under Options there is a place to add a file....&lt;/p&gt;</description></item><item><title>sorting a repeating table with qRules... problem</title><link>https://www.infopathdev.com:443/forums/thread/43904.aspx</link><pubDate>Tue, 07 Jul 2009 19:54:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43904</guid><dc:creator>harp71</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43904.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=43904</wfw:commentRss><description>&lt;p&gt;Hey I have a repeating table on my form that I would like to sort... everytime I try I get this error:&lt;/p&gt;
&lt;p&gt;Action: SortTable&lt;br /&gt;&amp;nbsp;Arguments: System.Collections.Generic.Dictionary`2[System.String,System.String]&lt;br /&gt;&amp;nbsp;Details: Schema validation found non-data type errors.&lt;br /&gt;Stack:&amp;nbsp;&amp;nbsp; at Microsoft.MsoOffice.InfoPath.MsxmlInterop.MsxmlDocument.ThrowExceptionFromMsxmlInteropError(MsxmlInteropError eError)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.MsoOffice.InfoPath.MsxmlInterop.MsxmlDocument.ThrowExceptionFromHresult(Int32 hrError)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.MsoOffice.InfoPath.MsxmlInterop.MsxmlNodeImpl.AppendChild(String strXml)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Office.InfoPath.MsxmlWriter.Close()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XmlWellFormedWriter.Close()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XPath.XPathNavigator.AppendChild(XmlReader newChild)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XPath.XPathNavigator.AppendChild(XPathNavigator newChild)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Qdabra.Tools.RulesLibrary.Commands.SortTable(String domName, String rowXPath, String fieldXPathList, String orderList, String typeList)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Qdabra.Tools.RulesLibrary.Commands.SortTable()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Qdabra.Tools.RulesLibrary.Commands.ExecuteCommand(Application application, XmlFormHostItem formHost, XPathNavigator commandsNavigator)&lt;/p&gt;
&lt;p&gt;My sort is below&amp;nbsp;and is triggered by option buttons byDate, byGroup&lt;/p&gt;
&lt;p&gt;ByGroup SortTable /row=my:myFields/my:Accomplishments /compare=my:GroupBy,my:EstimatedCompletionDate /order=ASC,ASC /type=text,text&lt;/p&gt;
&lt;p&gt;ByDate SortTable /row=my:myFields/my:Accomplishments /compare=my:EstimatedCompletionDate,my:GroupBy /order=ASC,ASC /type=text,text&lt;/p&gt;
&lt;p&gt;I have even tried just sorting one field rather than two and still get this error...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any thoughts on this?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>