Skip to content

NCRPT ​

Returns summary information (listing of all codes) for a specified code field from the Names or Register tables for all registrants in a particular course.

Reporting Area(s) ​

Courses

Required Parameters ​

  1. Course # (i.e. cocrse, rgcrse, pycrse)
  2. Field from Names or Register table to return (i.e. "NMOCC", "RGTRACK"))

Optional Parameters ​

  1. Delimiter to place between values (i.e. "/",chr(9), chr(13) ). Default is a space.
  2. Logical: .t. returns description for code; .f. returns the code (Default).
  3. Condition to return value (i.e. "NMOCC='ACTOR'", "RGTRACK='NOSHOW'").

Example(s) ​

NCRPT(cocrse,"NMOCC") returns a list/count of occupation codes assigned to registrants in course.

NCRPT(cocrse,"NMOCC","",.f.,"NMOCC='ACTOR'") returns a count of all registrants in course who have the occupation code 'ACTOR'.

CODERPT