SHOWCODE ​
Returns list of interest codes assigned to an individual.
Reporting Area(s) ​
General
Required Parameters ​
- Name ID (i.e. nmid, rgid, pyid)
Optional Parameters ​
- Delimiter: character to place between interest codes (i.e. " ", "-", " Chr(13)) Default is " "
- Logical .t. trim interest codes, .f. don't trim
- Logical .t. return first interest code only, .f. return all (default)
- Logical .t. also returns interest code date.
Example(s) ​
SHOWCODE(nmid," -- ") returns a list of all interest codes for a person separated by '--'
SHOWCODE(nmid,"/",.t.,.f.) returns a list of all interest codes, trimmed and separated by '/'
SHOWCODE(nmid," - ",.t.,.f.,.t.) returns a list of all interest codes, trimmed and separated by ' - ' with code and date (e.g. COMP - 12/31/2010)