<?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: Increase # in TEXT FIELD</title><link>http://forums.method.me/cs/forums/thread/12259.aspx</link><pubDate>Tue, 15 May 2012 17:51:43 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:12259</guid><dc:creator>Method_Ted</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/12259.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=12259</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;Wavetec:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;It took me all day but I figured it out.&amp;nbsp;&amp;nbsp;What I did not know was that you don&amp;rsquo;t need to use the &amp;ldquo;where&amp;hellip; this&amp;hellip; is equal to&amp;hellip; that&amp;rdquo; part of the &amp;ldquo;retrieve from table&amp;rdquo; action.&amp;nbsp; I just always needed that to match up screens before so I didn&amp;rsquo;t know you could leave it blank and it would just look at all the data in the table and then you could &amp;ldquo;retrieve last&amp;rdquo;.&amp;nbsp; Once I got this far I was able to Char Function to grab just the numbers (it&amp;rsquo;s a text field CR 12-0000) and then add 1 and put it back in.&amp;nbsp; I tried to get it to happen &amp;ldquo;ON PAGE LOAD&amp;rdquo; but I couldn&amp;rsquo;t get that to work right so I just added a button.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="p1"&gt;Please let me know if you need help with adding the action set to the &amp;lsquo;on page load&amp;rsquo; area.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Increase # in TEXT FIELD</title><link>http://forums.method.me/cs/forums/thread/12218.aspx</link><pubDate>Fri, 11 May 2012 21:01:55 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:12218</guid><dc:creator>Wavetec</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/12218.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=12218</wfw:commentRss><description>&lt;p&gt;Ted,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m getting lost here. I&amp;#39;m putting a button on a NEW CALL REPORT SCREEN to assign the next call number (Keep in mind my Call# is CR 12 - xxxx, not just a number) &amp;nbsp;If I can get it to work, I&amp;#39;ll move the actions to &amp;quot;when page loads&amp;quot;.&lt;/p&gt;
&lt;p&gt;1. Assign Value to Action Result - Assign Result Name to Value from Screen CallReportGrid: Call# (Not sure how it knows it&amp;#39;s the lowest call?)&lt;/p&gt;
&lt;p&gt;2. Start Loop thru Grid - Look @ Call Report Grid / All Rows; show only CallNo; where... CallNo = Action result &amp;quot;lastcall#&amp;quot; from above&lt;/p&gt;
&lt;p&gt;3. &lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/cs/Themes/methodtheme/images/icon-quote.gif"&gt; &lt;strong&gt;Method_Ted:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;If the value from row &amp;gt; Result then change the Result to that value&lt;/div&gt;&lt;/BLOCKQUOTE&gt; &amp;nbsp;No Idea how to do this.&lt;/p&gt;
&lt;p&gt;Not sure if I&amp;#39;m even on the right track... &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Am I supposed to do this from the last Call Report? &amp;nbsp;how does it save the info for the next one?&lt;/p&gt;
&lt;p&gt;I think if I got this far I could add 1 to the result but I&amp;#39;m not sure about that 100%.&lt;/p&gt;
&lt;p&gt;Is there something on the Default screens that could point me in the right direction?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thx,&lt;/p&gt;
&lt;p&gt;Greg&lt;/p&gt;</description></item><item><title>Re: Increase # in TEXT FIELD</title><link>http://forums.method.me/cs/forums/thread/12210.aspx</link><pubDate>Fri, 11 May 2012 19:24:17 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:12210</guid><dc:creator>Method_Ted</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/12210.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=12210</wfw:commentRss><description>&lt;p&gt;
&lt;p&gt;@Greg&lt;/p&gt;
&lt;p&gt;From the information given I have the following recommendations :&lt;/p&gt;
&lt;p&gt;Initially set a Result action to the lowest Call#.&lt;/p&gt;
&lt;p&gt;Loop through the Grid/Table and compare the Result against the Value of the Row&lt;/p&gt;
&lt;p&gt;If the value from row &amp;gt; Result then change the Result to that value&amp;nbsp;&lt;/p&gt;
&lt;p&gt;(I would record the Record ID in another Result just in case)&lt;/p&gt;
&lt;p&gt;When the loop is done the Result will have the highest number from the Grid/Table&lt;/p&gt;
&lt;p&gt;Add 1 to the Result and use it in the new record.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I hope this might help. If I am not understanding your issue then you might illustrate the format of your Grid/Table and we can assist further.&lt;/p&gt;
&lt;/p&gt;</description></item><item><title>Re: Increase # in TEXT FIELD</title><link>http://forums.method.me/cs/forums/thread/12205.aspx</link><pubDate>Fri, 11 May 2012 18:39:00 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:12205</guid><dc:creator>Wavetec</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/12205.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=12205</wfw:commentRss><description>&lt;p&gt;I can&amp;#39;t seem to figure out how to tell it to retrieve the &amp;quot;LAST&amp;quot; record. &amp;nbsp;I&amp;#39;ve tried it several ways but there is nothing to point at to match the criteria. In the &amp;quot;From table ____ where ____ is equal to _____&amp;quot; &amp;nbsp;I&amp;#39;m not sure how to tell it to look at the last record ID and retrieve the CALL# from that record?&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tried loop thru grid, character function, retrieve from table... I know how to pull info as it relates to another screen/table so I can compare and filter but this is just looking for the last record.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any thoughts...&lt;/p&gt;
&lt;p&gt;thx.&lt;/p&gt;
&lt;p&gt;Greg&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Increase # in TEXT FIELD</title><link>http://forums.method.me/cs/forums/thread/12065.aspx</link><pubDate>Thu, 03 May 2012 14:41:34 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:12065</guid><dc:creator>Method_Ted</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/12065.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=12065</wfw:commentRss><description>&lt;p&gt;@Wavetec&lt;/p&gt;
&lt;p&gt;Just another note to help with the case.&lt;/p&gt;
&lt;p&gt;After retrieving the value of the previous Call Report, you will need to perform a Basic Math action to increment the Call Report number by 1&lt;/p&gt;
&lt;p&gt;I hope this helps&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Increase # in TEXT FIELD</title><link>http://forums.method.me/cs/forums/thread/12064.aspx</link><pubDate>Thu, 03 May 2012 14:11:43 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:12064</guid><dc:creator>Method_Ted</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/12064.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=12064</wfw:commentRss><description>&lt;p&gt;
&lt;p&gt;@Wavetec&lt;/p&gt;
&lt;p&gt;You can take a look at the Character Function action. Use this action to&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp;Retrieve value from table to get the number for the last record.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp;Use the character function perhaps more than once to do the rest.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please let me know if I can be of further assistance.&lt;/p&gt;
&lt;/p&gt;</description></item><item><title>Increase # in TEXT FIELD</title><link>http://forums.method.me/cs/forums/thread/12055.aspx</link><pubDate>Wed, 02 May 2012 21:24:13 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:12055</guid><dc:creator>Wavetec</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/12055.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=12055</wfw:commentRss><description>&lt;p&gt;Currently we have a Call Report Screen and in the screen is a Call Report #. &amp;nbsp;The format of the number is CR 12 - xxxx, where the first digit is the year and the remaining 4 digits are entered manully. i.e. CR 12 - 0001&lt;/p&gt;
&lt;p&gt;Is there something I can put into the logic so when I SAVE a NEW Call Report is automatically looks to see what the last Call Report # was and adds one to it and creates it. i.e. We are on CR 12 - 0234 and I create a new call and save it and it automatically puts in CR 12 - 0235 as the call number.&lt;/p&gt;</description></item></channel></rss>