<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://m204wiki.rocketsoftware.com/index.php?action=history&amp;feed=atom&amp;title=%24Decode</id>
	<title>$Decode - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://m204wiki.rocketsoftware.com/index.php?action=history&amp;feed=atom&amp;title=%24Decode"/>
	<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=$Decode&amp;action=history"/>
	<updated>2026-05-11T12:27:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=$Decode&amp;diff=70378&amp;oldid=prev</id>
		<title>Mlarocca: Mlarocca moved page $DECODE to $Decode: Lower case change</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=$Decode&amp;diff=70378&amp;oldid=prev"/>
		<updated>2014-07-17T13:13:27Z</updated>

		<summary type="html">&lt;p&gt;Mlarocca moved page &lt;a href=&quot;/index.php?title=$DECODE&quot; class=&quot;mw-redirect&quot; title=&quot;$DECODE&quot;&gt;$DECODE&lt;/a&gt; to &lt;a href=&quot;/index.php?title=$Decode&quot; title=&quot;$Decode&quot;&gt;$Decode&lt;/a&gt;: Lower case change&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:13, 17 July 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Mlarocca</name></author>
	</entry>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=$Decode&amp;diff=58545&amp;oldid=prev</id>
		<title>Alex: Automatically generated page update</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=$Decode&amp;diff=58545&amp;oldid=prev"/>
		<updated>2013-04-20T13:18:50Z</updated>

		<summary type="html">&lt;p&gt;Automatically generated page update&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;p&amp;gt;The $DECODE function performs a table lookup and returns a decoded character string value. $DECODE is useful for printing descriptive information on reports when the records themselves contain only coded values. &amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;$DECODE conserves space and minimizes the keystrokes required for requests by retaining only codes for fields. $DECODE takes two arguments:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;$DECODE(&amp;#039;table_name&amp;#039;,resolve)&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;where&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;table_name is the name of a table.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;resolve contains the code that is to be decoded.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Example&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The state field contains a 2-character code. Full state names are printed.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;BEGIN&lt;br /&gt;
STATE:      FOR EACH VALUE OF STATE IN ORDER&lt;br /&gt;
STATE.VAL:     FIND ALL RECORDS FOR WHICH&lt;br /&gt;
                  STATE = VALUE IN STATE&lt;br /&gt;
               END FIND&lt;br /&gt;
NO.IN.EACH:    COUNT RECORDS IN STATE.VAL&lt;br /&gt;
               SKIP 1 LINE&lt;br /&gt;
               PRINT $DECODE (&amp;#039;STATE&amp;#039;, VALUE IN STATE) -&lt;br /&gt;
                  WITH COUNT IN NO.IN.EACH AT COLUMN 30&lt;br /&gt;
            END FOR&lt;br /&gt;
END   &lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
[[Category:SOUL $functions]]&lt;/div&gt;</summary>
		<author><name>Alex</name></author>
	</entry>
</feed>