Skip to content

CUSTWKCD ​

Returns list of workshops from multiple courses in which single registrant is enrolled.

Reporting Area(s) ​

Registrations

Required Parameters ​

  1. Course # (i.e. cocrse, rgcrse, pycrse)
  2. Name ID (i.e. nmid, rgid, pyid)
  3. Numeric return value: number of characters of the Course Number to match (i.e. 6 matches first 6 characters of course number)
  4. Delimiter to place between workshop codes (i.e: " , " , " - " )

Optional Parameters ​

  1. Condition to return workshops (i.e. "wicode='A' "). Default is all
  2. Logical .t. codes are trimmed (no trailing spaces), .f. codes are not trimmed (default)

Example(s) ​

CUSTWKCD(cocrse,nmid,6,",") returns all workshop codes in which individual is enrolled for courses in cursor which have the same first 6 characters, separated by commas (i.e. AA01, BA02, CA01, etc.).

CUSTWKCD(cocrse,nmid,6,",","wicode='A' ",.t.) returns all workshop codes which begin with 'A' for courses in cursor which have the same first 6 characters, separated by commas (i.e. AA01, AB02, AC03, etc.)

Notes ​

Use in Nametags to print one nametag for individual with list of all workshops taken in multiple courses.

ADDWKCODE
ADDWORK
CTWORK
CURSWORK
LISTWORK
QUIKWORK
SELEWORK
SELEWORK2
SHOWWKMS
SHOWWORK
STAMPWORK
SUMWORK