CUSTWKCD ​
Returns list of workshops from multiple courses in which single registrant is enrolled.
Reporting Area(s) ​
Registrations
Required Parameters ​
- Course # (i.e. cocrse, rgcrse, pycrse)
- Name ID (i.e. nmid, rgid, pyid)
- Numeric return value: number of characters of the Course Number to match (i.e. 6 matches first 6 characters of course number)
- Delimiter to place between workshop codes (i.e: " , " , " - " )
Optional Parameters ​
- Condition to return workshops (i.e. "wicode='A' "). Default is all
- 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.
Related Functions ​
ADDWKCODE
ADDWORK
CTWORK
CURSWORK
LISTWORK
QUIKWORK
SELEWORK
SELEWORK2
SHOWWKMS
SHOWWORK
STAMPWORK
SUMWORK