<?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>Method:Classic General Q&amp;amp;A</title><link>http://forums.method.me/cs/forums/13.aspx</link><description>Ask technical support questions, how do I? Questions... Or anything else you want to know from the Method Team and other Method users.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>Re: Loop through Table or Grid, Advanced Options</title><link>http://forums.method.me/cs/forums/thread/11799.aspx</link><pubDate>Thu, 12 Apr 2012 20:54:56 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11799</guid><dc:creator>jnoneiliv1</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11799.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=11799</wfw:commentRss><description>&lt;p&gt;Great Stuff!&lt;/p&gt;
&lt;p&gt;It&amp;#39;s pretty amazing how powerful the Action library is for making custom applications. &amp;nbsp;The balance of functionality and ease of use ir really elegant, and I think some further explanation of usage would be a good investment.&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t think of a more powerful toolkit for small business than QB plus Method. &amp;nbsp;We&amp;#39;re using it in our iron foundry, and I don&amp;#39;t think there&amp;#39;s a better solution even for us.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;James&lt;/p&gt;</description></item><item><title>Re: Loop through Table or Grid, Advanced Options</title><link>http://forums.method.me/cs/forums/thread/11786.aspx</link><pubDate>Thu, 12 Apr 2012 13:17:12 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11786</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11786.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=11786</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/cs/Themes/methodtheme/images/icon-quote.gif"&gt; &lt;strong&gt;jnoneiliv1:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Do you think it&amp;#39;s just a coincidence that you are using terms like &amp;quot;Where clause&amp;quot;, &amp;quot;Select&amp;quot;, &amp;quot;Distinct&amp;quot;, etc.?&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;No coincidence and all those terms are all applicable - Distinct is the only one I always try to refer to as unique outside SQL statements.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/cs/Themes/methodtheme/images/icon-quote.gif"&gt; &lt;strong&gt;jnoneiliv1:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;You might add as a usage example that the Loop Through Table Action...&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;div&gt;We&amp;#39;ve got some articles in the works on this, grid looping actions and others. &amp;nbsp;Stay tunned.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;~C&lt;/div&gt;
&lt;/p&gt;</description></item><item><title>Re: Loop through Table or Grid, Advanced Options</title><link>http://forums.method.me/cs/forums/thread/11783.aspx</link><pubDate>Wed, 11 Apr 2012 21:32:30 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11783</guid><dc:creator>jnoneiliv1</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11783.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=11783</wfw:commentRss><description>&lt;p&gt;Thanks Chad, that clears things up.&lt;/p&gt;
&lt;p&gt;I think we are writing an SQL statement though, you&amp;#39;ve just hidden the ugly bits from the user, made a nice gui to allow the user to build a statement by selecting a few key properties, fields, etc. and then written some code to parse that into whatever SQL language, object oriented, ASP whatever.&lt;/p&gt;
&lt;p&gt;Do you think it&amp;#39;s just a coincidence that you are using terms like &amp;quot;Where clause&amp;quot;, &amp;quot;Select&amp;quot;, &amp;quot;Distinct&amp;quot;, etc.?&lt;/p&gt;
&lt;p&gt;Anyway, if you just copied and pasted some your explanation to the User Guide, we&amp;#39;d have some nice additional explanation of the Loop Actions, and thanks a bunch for characterizing the Loop Through Grid Action.&lt;/p&gt;
&lt;p&gt;Oh, and as side note. &amp;nbsp;You might add as a usage example that the Loop Through Table Action is a really great tool for updating a bunch of fields even on just one record. &amp;nbsp;I finally figured this out looking at some sample screens, and now I wish I had time to go back and replace bunches of separate Update Field in Table Actions with one Loop Through Table Action operating on a single current RecordID. &amp;nbsp;It&amp;#39;s got to be much more efficient in the database as well and speed execution.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;James&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Loop through Table or Grid, Advanced Options</title><link>http://forums.method.me/cs/forums/thread/11780.aspx</link><pubDate>Wed, 11 Apr 2012 20:21:57 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11780</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11780.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=11780</wfw:commentRss><description>&lt;p&gt;James,&lt;/p&gt;
&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/cs/Themes/methodtheme/images/icon-quote.gif"&gt; &lt;strong&gt;jnoneiliv1:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;I think answering this question in terms of typical SQL statement logic might help clear things up.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;While it&amp;#39;s helpful to answer in terms of SQL statement logic, we&amp;#39;re not writing a SQL statement so I wanted to try and explain what distinct means outside a SQL statement.&lt;/p&gt;
&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/cs/Themes/methodtheme/images/icon-quote.gif"&gt; &lt;strong&gt;jnoneiliv1:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;This is still a bit confusing since typically SQL Select Distinct might return unique values, but in the case of a Loop Through Table we are really talking about entire records that the Action will Loop through.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Not might, Distinct will always return Distinct (aka unique records in non-SQL language).&lt;/p&gt;
&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/cs/Themes/methodtheme/images/icon-quote.gif"&gt; &lt;strong&gt;jnoneiliv1:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;So, we still need some explanation as to how this impacts record processing.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;With regards to record processing, if you&amp;#39;re looping through the table with a distinct by, you&amp;#39;re only going to see records that match that distinct clause. &amp;nbsp;It impacts your processing by looping through distinct (by) records only.&lt;/p&gt;
&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/cs/Themes/methodtheme/images/icon-quote.gif"&gt; &lt;strong&gt;jnoneiliv1:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;...if the properties for Sorting the records are configured in the Action properties then the DISTINCT option would select the first record from a group of duplicates as determined by the sort criteria? &amp;nbsp;This could be very handy to grab the most recent record for example the last invoice issued a customer.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;When Looping Through a Table your Distinct clause has an optional Order By condition. &amp;nbsp;Without the Order By condition then it would Order them By entry in the table. &amp;nbsp;The sort criteria you mentioned only applies to a the Loop Through Grid action and yes, it should pull the first record.&lt;/p&gt;
&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/cs/Themes/methodtheme/images/icon-quote.gif"&gt; &lt;strong&gt;jnoneiliv1:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;How would this work for the Loop Through Grid Action since sort options are not available? &amp;nbsp;Would it choose the first physical record in a series of dups?&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Loop Through Grid by Distinct was producing inconsistent results which has been rectified as of the April version. &amp;nbsp;If you need to use the Loop Through Grid with a Distinct value then please log out/in, switch to the latest version of Method and republish your screen.&lt;/p&gt;
&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/cs/Themes/methodtheme/images/icon-quote.gif"&gt; &lt;strong&gt;jnoneiliv1:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;I think if we can try to relate the logic back to SQL and then explain how it might be a little different for how the Actions are using it we might have a shared language for defining the logic and how it might be used in a way we can all relate.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;I try to answer these posts in the best technical and non-technical terms depending on the question. &amp;nbsp;Since we&amp;#39;re not writing a SQL statement in the Loop Through actions I wanted to make it clear that Distinct in this instance means unique (which is non-SQL programmer friendly).&lt;/p&gt;
&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/cs/Themes/methodtheme/images/icon-quote.gif"&gt; &lt;strong&gt;jnoneiliv1:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;...I think some grounding in basic relational database functionality is required to really develop custom action sequences with even moderate complexity.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;I disagree with this statement. &amp;nbsp;While technical knowledge is definitely &lt;i&gt;helpful&lt;/i&gt; to developing custom action sequences, it&amp;#39;s not required. &amp;nbsp;We built Method to help non-technical folks develop business processes outside the bounds of QB while still allowing them to use QB as their accounting program. &amp;nbsp;If you feel the language in the manual is too conversational then I&amp;#39;ll discuss it with the team here. &amp;nbsp;We&amp;#39;re trying to balance technical and non-technical folks alike.&lt;/p&gt;
&lt;p&gt;~C&lt;/p&gt;</description></item><item><title>Re: Loop through Table or Grid, Advanced Options</title><link>http://forums.method.me/cs/forums/thread/11755.aspx</link><pubDate>Tue, 10 Apr 2012 18:00:03 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11755</guid><dc:creator>jnoneiliv1</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11755.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=11755</wfw:commentRss><description>&lt;p&gt;Chad,&lt;/p&gt;
&lt;p&gt;I think answering this question in terms of typical SQL statement logic might help clear things up. As I was still lost after your explanation I looked up an explanation of the SQL SELECT DISTINCT Statement.&lt;/p&gt;
&lt;p&gt;The SQL &amp;quot;DISTINCT&amp;quot; keyword will prevent inclusion of records that have duplicate values in the named field or column. &amp;nbsp;This is still a bit confusing since typically SQL Select Distinct might return unique values, but in the case of a Loop Through Table we are really talking about entire records that the Action will Loop through. &amp;nbsp;So, we still need some explanation as to how this impacts record processing.&lt;/p&gt;
&lt;p&gt;I could see how this could be used to filter the records selected by the Loop Through Table Action and I assume that if the properties for Sorting the records are configured in the Action properties that the DISTINCT option would select the first record from a group of duplicates as determined by the sort critieria? &amp;nbsp;This could be very handy to grab the most recent record for example the last invoice issued a customer.&lt;/p&gt;
&lt;p&gt;How would this work for the Loop Through Grid Action since sort options are not available? &amp;nbsp;Would it choose the first physical record in a series of dups?&lt;/p&gt;
&lt;p&gt;I think if we can try to relate the logic back to SQL and then explain how it might be a little different for how the Actions are using it we might have a shared language for defining the logic and how it might be used in a way we can all relate.&lt;/p&gt;
&lt;p&gt;I get lost by the use of conversational english used in the how to guides. &amp;nbsp;I&amp;#39;m not sure it&amp;#39;s helpful to avoid specific technical language and I think some grounding in basic relational database functionality is required to really develop custom action sequences with even moderate complexity.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;James&lt;/p&gt;</description></item><item><title>Re: Loop through Table or Grid, Advanced Options</title><link>http://forums.method.me/cs/forums/thread/11753.aspx</link><pubDate>Tue, 10 Apr 2012 17:01:57 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11753</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11753.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=11753</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/cs/Themes/methodtheme/images/icon-quote.gif"&gt; &lt;strong&gt;jnoneiliv1:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;What&amp;#39;s a &amp;quot;distinct value&amp;quot;? &amp;nbsp;There&amp;#39;s no explanation in the Actions Guilde/Online User Guide.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;A distinct value is the same as a unique value. &amp;nbsp;If you wanted to selectively loop through records by a distinct value then you would use this option.&lt;/p&gt;
&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/cs/Themes/methodtheme/images/icon-quote.gif"&gt; &lt;strong&gt;jnoneiliv1:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Is this a way to avoid duplicates? &amp;nbsp;How is this used?&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Yes. &amp;nbsp;The use of this would be a specific case, maybe you wanted to delete a bunch of leads from a table by distinct value email.&lt;/p&gt;
&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/cs/Themes/methodtheme/images/icon-quote.gif"&gt; &lt;strong&gt;jnoneiliv1:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Being able to use the full selection of boolean operators could be very handy in Loop Through Grid. &amp;nbsp;Is this under consideration for future functionality?&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;I agree. &amp;nbsp;I&amp;#39;m not sure if this is under consideration at the moment but I&amp;#39;ll post here if so.&lt;/p&gt;
&lt;p&gt;I have to caution you on the use of the loop through grid on a distinct value. &amp;nbsp;In testing your question this morning it started to produce inconsistent results for me. &amp;nbsp;I&amp;#39;m going to continue testing and post and update but I would recommended you don&amp;#39;t use a loop through grid with a distinct value right now.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;~C&lt;/p&gt;</description></item><item><title>Loop through Table or Grid, Advanced Options</title><link>http://forums.method.me/cs/forums/thread/11739.aspx</link><pubDate>Mon, 09 Apr 2012 22:19:16 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11739</guid><dc:creator>jnoneiliv1</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11739.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=11739</wfw:commentRss><description>&lt;p&gt;Both Loop Through Table and Loop Through Grid have a property that allows selection of a field for &amp;quot;Only show distinct values for field&amp;quot; in the case of Loop Through Grid, or &amp;quot;Only distinct values (optional):&amp;quot; in the case of Loop Through Table.&lt;/p&gt;
&lt;p&gt;What&amp;#39;s a &amp;quot;distinct value&amp;quot;? &amp;nbsp;There&amp;#39;s no explanation in the Actions Guilde/Online User Guide.&lt;/p&gt;
&lt;p&gt;Is this a way to avoid duplicates? &amp;nbsp;How is this used?&lt;/p&gt;
&lt;p&gt;Also, Loop Through Table allows a selection of Where Clause operators like Equal To, Less Than, Greater than, etc. but the Loop Through Grid action only allows the use of Equal To in the Where Clause.&lt;/p&gt;
&lt;p&gt;Being able to use the full selection of boolean operators could be very handy in Loop Through Grid. &amp;nbsp;Is this under consideration for future functionality?&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;James&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>