<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.method.me/cs/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>Search results by user ID 4619</title><link>http://forums.method.me/cs/search/SearchResults.aspx?o=DateDescending&amp;u=4619</link><description>Search results by user ID 4619</description><dc:language>en-US</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>Re: MethodAPISelect_XMLV2 strGroupByClause parameter error</title><link>http://forums.method.me/cs/forums/p/1330/4609.aspx#4609</link><pubDate>Wed, 12 Jan 2011 00:47:08 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:4609</guid><dc:creator>MikeC</dc:creator><description>&lt;p&gt;Sorry for the delayed response.&amp;nbsp; I use Mozilla FireFox 3.6.13 currently as my main browser.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: MethodAPISelect_XMLV2 strGroupByClause parameter error</title><link>http://forums.method.me/cs/forums/p/1330/4530.aspx#4530</link><pubDate>Thu, 06 Jan 2011 05:01:48 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:4530</guid><dc:creator>MikeC</dc:creator><description>&lt;p&gt;Thanks for responding so quickly Victor.&lt;br /&gt;&lt;br /&gt;I too had used the browser to manually obtain the records with no errors.&lt;br /&gt;&lt;br /&gt;The error you mention makes perfect sense now that you have explained the syntax.&lt;br /&gt;&lt;br /&gt;&lt;span style="text-decoration:underline;"&gt;Regarding the other error: &lt;/span&gt;&lt;br /&gt;The SQL returned the following error:&amp;nbsp; An expression of non-boolean type specified in a context where a condition is expected, near &amp;#39;GROUP&amp;#39;.&lt;br /&gt;&lt;br /&gt;Any ideas of what that could be?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;My intention is to use Method API to obtain data automatically (push of a button or when the program loads) to be used in other independent applications.&amp;nbsp; Currently I want to use it for QReportBuilder, a report writing tool based upon the application development tool I use to create software (Alpha5 from Alpha Software).&amp;nbsp; This report writer is very powerful and many users say it is much better than Crystal Reports even.&amp;nbsp; There are many limits in Method&amp;#39;s built-in report writer that QReportBuilder does not have.&amp;nbsp; Although I can currently obtain data directly from a desktop installation of QuickBooks, being able to obtain data from a Method account will give me a much more powerful toolkit which will be able to satisfy almost every client&amp;#39;s needs especially in regards to report building.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: MethodAPISelect_XMLV2 strGroupByClause parameter error</title><link>http://forums.method.me/cs/forums/p/1330/4528.aspx#4528</link><pubDate>Thu, 06 Jan 2011 00:55:18 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:4528</guid><dc:creator>MikeC</dc:creator><description>&lt;p&gt;I just spent a half hour replying (with interruptions) and due to what apparently is a timeout for this forum, when I chose to Post, it brought me to the sign in page.....and I lost what I had written....this is the second time this has happened.&lt;/p&gt;
&lt;p&gt;This short message is just to let you know I was going to acknowledge your answer but I have to leave now until later tonight so cannot respond again for a while.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Try, try again right!?&amp;nbsp; &lt;img src="http://www.methodintegration.com/cs/emoticons/emotion-1.gif" alt="Smile" /&gt;&lt;/p&gt;</description></item><item><title>MethodAPISelect_XMLV2 strGroupByClause parameter error</title><link>http://forums.method.me/cs/forums/p/1330/4521.aspx#4521</link><pubDate>Wed, 05 Jan 2011 21:35:19 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:4521</guid><dc:creator>MikeC</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I have successfully used a third party development tool to access the Method API to obtain both the Table and Field Lists.&amp;nbsp; Using the same syntax for obtaining the data, however, gives the errors indicated below.&amp;nbsp; The built in third party function&amp;#39;s description can be found via the link below which goes to an online help file.&amp;nbsp; It is designed to access http/https sites and be able to return XML.&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" title="Function Description" href="http://support.alphasoftware.com/alphafivehelpv8/Functions/HTTP_POST_PAGE2().htm"&gt;http://support.alphasoftware.com/alphafivehelpv8/Functions/HTTP_POST_PAGE2().htm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I do not know whether this is a Method API issue or one that lays within how the third party function sends the information.&amp;nbsp; I have tried all the permutations I can with the strGroupByClause syntax,ie; no quotes, single quotes, double quotes, no field name, field name, ....&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;dim field_page as c&lt;br /&gt;dim str3 as c&lt;br /&gt;str3=&amp;quot;&amp;quot;&lt;br /&gt;str3=&amp;quot;strCompanyAccount=AccountName&amp;amp;strLogin=LoginName&amp;amp;strPassword=PasswordName&amp;amp;Length=9000&amp;amp;strSessionID=&amp;#39;&amp;#39;&amp;amp;strTable=Customer&amp;quot;&lt;br /&gt;str3=str3+&amp;quot;&amp;amp;strFields=fullname,phone&amp;amp;strWhereClause=&amp;#39;&amp;#39;&amp;amp;strGroupByClause=&amp;#39;&amp;#39;&amp;amp;strHaving=&amp;#39;&amp;#39;&amp;amp;strOrderBy=&amp;#39;&amp;#39;&amp;quot;&lt;br /&gt;field_Page=http_post_page2(&amp;quot;https://www.methodintegration.com/MethodAPI/service.asmx/MethodAPISelect_XMLV2&amp;quot;,str3)&lt;br /&gt;&lt;br /&gt;&amp;#39;&amp;#39;===================================================================================&lt;br /&gt;&lt;br /&gt;Header information received:&lt;br /&gt;&lt;br /&gt;HTTP/1.1 200 OK&lt;br /&gt;Cache-Control: private, max-age=0&lt;br /&gt;Content-Type: text/xml; charset=utf-8&lt;br /&gt;ETag: &amp;quot;&amp;quot;&lt;br /&gt;Server: Microsoft-IIS/7.0&lt;br /&gt;X-AspNet-Version: 4.0.30319&lt;br /&gt;X-Powered-By: ASP.NET&lt;br /&gt;Date: Wed, 05 Jan 2011 14:59:43 GMT&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Error when strGroupByClause=fullname field:&lt;br /&gt;&lt;br /&gt;strGroupByClause=fullname&lt;br /&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;string xmlns=&amp;quot;http://tempuri.org/&amp;quot;&amp;gt;&amp;amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;windows-1252&amp;quot; ?&amp;amp;gt;&lt;br /&gt;&amp;amp;lt;MethodAPI response = &amp;quot;Failure. The SQL returned the following error:&amp;nbsp; An expression of non-boolean type specified in a context where a condition is expected, near &amp;#39;GROUP&amp;#39;.&amp;quot; &amp;amp;gt;&lt;br /&gt;&amp;amp;lt;/MethodAPI&amp;amp;gt;&amp;lt;/string&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Error when strGroupByClause=nothing:&lt;br /&gt;&lt;br /&gt;strGroupByClause=&amp;#39;&amp;#39;&lt;br /&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;string xmlns=&amp;quot;http://tempuri.org/&amp;quot;&amp;gt;&amp;amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;windows-1252&amp;quot; ?&amp;amp;gt;&lt;br /&gt;&amp;amp;lt;MethodAPI response = &amp;quot;Please make sure the fields entered in the group by clause is contained in your field list.&amp;quot; &amp;amp;gt;&lt;br /&gt;&amp;amp;lt;/MethodAPI&amp;amp;gt;&amp;lt;/string&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any thoughts?&lt;/p&gt;</description></item></channel></rss>