<?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: trying to understand "Only Distinct Values" - need examples</title><link>http://forums.method.me/cs/forums/thread/31696.aspx</link><pubDate>Thu, 03 Mar 2016 20:24:51 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:31696</guid><dc:creator>Method_Adam</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/31696.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=31696</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hi Stuart,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;I got your email of the screenshots. The big issue I see is that your loop through table action is not setup correctly, which is likely why you&amp;#39;re getting odd results. If you want to loop through the entire table, you have to setup the action like this:&lt;/p&gt;
&lt;p&gt;&lt;img src="http://i.imgur.com/XT7HjsV.png" width="711" height="621" alt="" /&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;The Where fields are required. So to loop through the entire table, set it to loop through where recordID is equal to &amp;gt;0.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;Adam&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: trying to understand "Only Distinct Values" - need examples</title><link>http://forums.method.me/cs/forums/thread/31688.aspx</link><pubDate>Thu, 03 Mar 2016 16:20:43 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:31688</guid><dc:creator>Method_Adam</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/31688.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=31688</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;span id="mce_3_start" style="overflow:hidden;"&gt;&lt;span id="mce_4_start" style="overflow:hidden;"&gt;&lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;span id="mce_6_start" style="overflow:hidden;"&gt;&lt;span id="mce_7_start" style="overflow:hidden;"&gt;&lt;span id="mce_8_start" style="overflow:hidden;"&gt;&lt;span id="mce_9_start" style="overflow:hidden;"&gt;&lt;span id="mce_10_start" style="overflow:hidden;"&gt;&lt;span id="mce_11_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;HI Stuart,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll jump back in here. There&amp;#39;s something I falied to make you aware of that is likely causing an issue for you. When looping through a table with distinct values, you cannot use the loop&amp;#39;s action result to get the recordID of the row. When normally looping through the table you can do this.&lt;/p&gt;
&lt;p&gt;So, since as I understand it, you are trying to take the vlaues in the row of the loop to insert into another table, you&amp;#39;ll need to add a &amp;quot;Assign Value to Action Result&amp;quot; as the first action inside the loop. You can use this action to assign the recordID of the row and use that for the other actions in your action set. It would be as below:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Loop through table action for distict values&lt;/li&gt;
&lt;li&gt;Insidet the loop, add an assign value to action result (see scr&lt;span id="mce_14_start" style="overflow:hidden;"&gt;&lt;/span&gt;eenshot)&lt;/li&gt;
&lt;li&gt;Assign the action result to be the recordID value of the row.&lt;/li&gt;
&lt;li&gt;&lt;span id="mce_12_start" style="overflow:hidden;"&gt;&lt;span id="mce_13_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;Add your other actions that are inside the loop.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span id="mce_12_end" style="overflow:hidden;"&gt;&lt;span id="mce_13_end" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span id="mce_3_end" style="overflow:hidden;"&gt;&lt;span id="mce_4_end" style="overflow:hidden;"&gt;&lt;span id="mce_5_end" style="overflow:hidden;"&gt;&lt;span id="mce_6_end" style="overflow:hidden;"&gt;&lt;span id="mce_7_end" style="overflow:hidden;"&gt;&lt;span id="mce_8_end" style="overflow:hidden;"&gt;&lt;span id="mce_9_end" style="overflow:hidden;"&gt;&lt;span id="mce_10_end" style="overflow:hidden;"&gt;&lt;span id="mce_11_end" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;img src="http://i.imgur.com/h688xXn.png" width="900" height="527" alt="" /&gt;&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;If I&amp;#39;m offbase with this, please let me know.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;- Adam&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: trying to understand "Only Distinct Values" - need examples</title><link>http://forums.method.me/cs/forums/thread/31575.aspx</link><pubDate>Thu, 18 Feb 2016 17:04:07 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:31575</guid><dc:creator>StuartKatz</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/31575.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=31575</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;looping thru a table By distinct value. &amp;nbsp;Don&amp;#39;t think you can loop thru a grid by distinct value.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: trying to understand "Only Distinct Values" - need examples</title><link>http://forums.method.me/cs/forums/thread/31571.aspx</link><pubDate>Thu, 18 Feb 2016 15:30:06 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:31571</guid><dc:creator>Method_Morty</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/31571.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=31571</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hey Stuart,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;I&amp;#39;ll jump in here.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Just to catch up:&lt;/p&gt;
&lt;p&gt;You are trying to to Loop Through a Grid and&amp;nbsp;&lt;span id="mce_6_start" style="overflow:hidden;"&gt;&lt;strong&gt;only&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;for the rows with &lt;span id="mce_9_start" style="overflow:hidden;"&gt;&lt;span id="mce_13_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span id="mce_11_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;span id="mce_12_start" style="overflow:hidden;"&gt;distinct values&lt;span id="mce_13_end" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;you are flagging them (seperate column on the Grid I assume?).&lt;span id="mce_16_start" style="overflow:hidden;"&gt;&lt;span id="mce_17_start" style="overflow:hidden;"&gt;&lt;span id="mce_18_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_8_start" style="overflow:hidden;"&gt;&lt;/span&gt;Then creating another Grid to list on&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;/span&gt;ly the&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;/span&gt; above&lt;span id="mce_3_start" style="overflow:hidden;"&gt; Grids&lt;/span&gt;&amp;nbsp;rows that &lt;span id="mce_15_start" style="overflow:hidden;"&gt;&lt;/span&gt;you flagged.&amp;nbsp;&lt;span id="mce_19_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Does that sound correct?&lt;span id="mce_4_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;span id="mce_20_start" style="overflow:hidden;"&gt;&lt;span id="mce_21_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;-- Mortaza&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;span id="mce_22_start" style="overflow:hidden;"&gt;&lt;span id="mce_23_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: trying to understand "Only Distinct Values" - need examples</title><link>http://forums.method.me/cs/forums/thread/31564.aspx</link><pubDate>Thu, 18 Feb 2016 02:57:28 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:31564</guid><dc:creator>StuartKatz</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/31564.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=31564</wfw:commentRss><description>&lt;p&gt;Adam,&lt;/p&gt;
&lt;p&gt;Here is some additional information&lt;/p&gt;
&lt;p&gt;I am trying to loop thru a file using the distinct value and then update the record it finds with a unique flag. &amp;nbsp; That way I can use those flagged records to create a grid.&lt;/p&gt;
&lt;p&gt;As I said the problem is that it does not seem to recognize any information other than the distinct value.&lt;/p&gt;
&lt;p&gt;Here are some screen shots to show you what I mean.&lt;/p&gt;
&lt;p&gt;Please let me know what is happening here.&amp;nbsp; I you would like to call please feel free to reach out to me anytime after 1:00pm east coast time.&lt;/p&gt;
&lt;p&gt;Stuart Katz&lt;/p&gt;
&lt;p&gt;808-669-9149&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description></item><item><title>Re: trying to understand "Only Distinct Values" - need examples</title><link>http://forums.method.me/cs/forums/thread/31498.aspx</link><pubDate>Wed, 10 Feb 2016 22:14:52 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:31498</guid><dc:creator>StuartKatz</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/31498.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=31498</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hi Adam.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Never heard back from you on this?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Stuart&lt;/p&gt;</description></item><item><title>Re: trying to understand "Only Distinct Values" - need examples</title><link>http://forums.method.me/cs/forums/thread/31396.aspx</link><pubDate>Mon, 01 Feb 2016 22:21:58 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:31396</guid><dc:creator>StuartKatz</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/31396.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=31396</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Adam&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks. &amp;nbsp; I was hoping this was the casae. &amp;nbsp; Only one small problem. &amp;nbsp; If instead of appending the item onto an action ressult&amp;nbsp;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;like you did if&lt;/span&gt;&amp;nbsp;you try to use the record to retrieved&amp;nbsp;information from the record and create a new record in a new table you will fine that only the distinct field is able to be found even though when you do the insert record action it will actually show all the fields from the original table as being available. &amp;nbsp; Strange. &amp;nbsp; If you would like me to show you and example and we can arrange some time to do it. &amp;nbsp; Please remember I am 5 hours behind you so any time after 12:00 noon is okay. &amp;nbsp; 808-669-9149&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Stuart&lt;/p&gt;</description></item><item><title>Re: trying to understand "Only Distinct Values" - need examples</title><link>http://forums.method.me/cs/forums/thread/31384.aspx</link><pubDate>Mon, 01 Feb 2016 18:32:44 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:31384</guid><dc:creator>Method_Adam</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/31384.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=31384</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hi Stewart,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;quot;Only distinct values&amp;quot; does what you&amp;#39;d probably expect and only loop through the distinct values in the table/grid you are looping through. &lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;For instance, if you&amp;#39;re looping through your Estimate table and want to count the number of customers you&amp;#39;ve created estimates for, you can loop through the esimtate table, only showing distinct values for the field &amp;quot;Customer&amp;quot;. By doing this, if you had a customer with several estimates, the loop would only loop through the first instance of the customer and skip any other records it might otherwise loop through. Here&amp;#39;s a screenshot of how I set this up:&lt;/p&gt;
&lt;p&gt;&lt;img src="http://i.imgur.com/aRH7c1e.png" width="1050" height="586" alt="" /&gt;&lt;span id="mce_4_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span id="mce_5_start" style="overflow:hidden;"&gt;In my example, the other actions in the action set are basically appending the customer name to an action result, just simply to show that the customer name is only being shown once. This worked for me. I had several customers in my test acccount with&amp;nbsp;&lt;span id="mce_7_start" style="overflow:hidden;"&gt;multiple estimates and each customer name only showed once.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;span id="mce_7_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;Hope this helps. Let me know if you have any other questions.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Adam&lt;/p&gt;</description></item><item><title>trying to understand "Only Distinct Values" - need examples</title><link>http://forums.method.me/cs/forums/thread/31350.aspx</link><pubDate>Thu, 28 Jan 2016 19:21:26 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:31350</guid><dc:creator>StuartKatz</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/31350.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=31350</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;img style="vertical-align:top;border:1px solid black;margin:1px;" src="http://www.method.me/cs/forums/AddPost.aspx/c:/Capture.jpg" alt="Screen shot" width="697" height="393" /&gt;&lt;span id="mce_10_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;span id="mce_6_start" style="overflow:hidden;"&gt;&lt;span id="mce_7_start" style="overflow:hidden;"&gt;&lt;span id="mce_8_start" style="overflow:hidden;"&gt;&lt;span id="mce_9_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;span id="mce_3_start" style="overflow:hidden;"&gt;&lt;span id="mce_11_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_12_start" style="overflow:hidden;"&gt;&lt;span id="mce_13_start" style="overflow:hidden;"&gt;&lt;span id="mce_14_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;This is a screen shot of the Start Loop thru a Table action. &amp;nbsp; There is an optional value of &amp;quot;Only Distinct Values&amp;quot;. &amp;nbsp; I think I know what&lt;/p&gt;
&lt;p&gt;this might do, but don&amp;#39;t seem to be able to get it to work for me. &amp;nbsp; Can you provide a couple of examples I can look at and maybe an&lt;/p&gt;
&lt;p&gt;explanation of how this can be used. &amp;nbsp;&lt;span id="mce_12_end" style="overflow:hidden;"&gt;&lt;span id="mce_13_end" style="overflow:hidden;"&gt;&lt;span id="mce_14_end" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>