CURSWORK ​
Returns selected information about workshops included in the query.
This function ONLY returns data on workshops included in your query. If you want to show data for all workshops on a registration, use QUIKWORK instead.
Reporting Area(s) ​
Workshop
Required Parameters ​
- Name ID # (i.e. nmid, rgid, wiid)
Optional Parameters ​
- Numeric return value:
0= Title
1= Title, Note
2= Padded Title, Note
3= Title, Leader, Note
4= Padded Title, Padded Leader, Note
5= Title, Note, Leader
6= Title, Leader, Note
7= Note, Title, Leader
8= Note, Title, Leader, (linefeed), description
= Title, Note
10= User defined field (If you choose this option then Parameter 4 should be field from workshop master to return i.e.: "wmnote")
11= Title, Leader, Location
12= Title, Leader, Location, Note
13= Title, Location, Note
14= Title, Leader, CEUS
15= Title, Leader, Hours
16= Title, Leader, Hours, CEUS
- Numeric return value: number of tabs to insert between values (i.e. 1,2,3, 4 (default))
--OR-- IF you are using 10 as the 3rd parameter: Field from Workshop Master table to return (i.e. "wmnote")
--OR-- IF you are using 11-13 as the 3rd parameter: .t. does NOT trims fields, .f. trim fields (default)
- Logical .t. include WMCODE, .f. don't include
Example(s) ​
CURSWORK(nmid) returns Workshop Code, 4 tabs, Title
CURSWORK(nmid,5) returns Workshop Title, Note, Leader
CURSWORK(rgid,10,"wmtitle") returns Workshop Title
CURSWORK(rgid,11,.t.,.f.) returns Workshop Code, Title, Leader, Location with field trimmed
Related Functions ​
ADDWKCODE
ADDWORK
CTWORK
CUSTWKCD
LISTWORK
QUIKWORK
SELEWORK
SELEWORK2
SHOWWKMS
SHOWWORK
STAMPWORK
SUMWORK