Skip to content

HASCLASS

Returns True/False or Yes/No if a student has taken a course which meets stated condition.

Reporting Area(s)

Names, Registrations

Required Parameters

  1. Name ID (i.e. nmid, rgid, pyid)
  2. Condition to return value. The condition must be based on the Register table (i.e. "rgstatus = 'Guest' ")
  3. Logical .t. returns True/False, .f. returns Yes/No

Optional Parameters

None

Example(s)

HASCLASS(rgid,"rgstatus='Guest'",.f.) returns YES if Status of a registration is Guest

HASCLASS(rgid,"rgfeedesc='Early Bird Fee'",.t.) returns True (.t.) if student has taken course with a fee description 'Early Bird Fee'

HASCOURSE
HASOPT
SHOWCLAS