Templates

Fields

The /field/, /column/, /single/, /if/ and /hgraph/ keywords all require a field name to be specified. This field name determines where the report template gets the information to print. Some field names, such as Result and Level1, represent information that comes from a work file, others such as student and unit come from the information stored in SM-Reports.

All valid field names are listed below with a description of the source of the information in SM-Reports. Some fields coincide with the field in the Report Definition command, others from the commands School menu. Note the field names are not case sensitive and in a report template ResultMax is the same field as resultmax.

Field names

Field NameSource of information
AdviserInformation from a work file in the Adviser's Comment column of the Report Definition command.
AttendanceInformation from a work file in the Absences column of the Set Report Definition command.
ClassThe Class Name shown in the Edit Classes command for the course.
CommentInformation from a work file in the Teacher's Comment column of the Set Report Definition command.
DistributionA lists of the grades assigned to student, commas are used to separate the grades, followed by the number of students with each grade and then the percentage of each student with each grade.
FamilyThe Family name of the student from the Edit Students command.
GivenThe Given names of the student from the Edit Students command.
GradeInformation from a work file in the Grade column of the Set Report Definition command.
HeadTeacherThe Head Teacher from the Edit Courses command.
Level1 ... Level30Information from a work file in the Strand columns of the Set Report Definition command.
Level1a ... Level30aThe average result in a course from the information in a work file in the Strand columns of the Set Report Definition command.
PositionInformation from a work file in the Position column of the Set Report Definition command.
PositionMaxInformation from a work file in the Position Maximum column of the Set Report Definition command.
ExtraAThe Extra A field of the student from the Edit Students command.
PreferredThe Preferred name of the student from the Edit Students command.
PrincipalInformation from a work file in the Principal's Comment column of the Set Report Definition command.
Reserved1Information from a work file in the Custom 1 column of the Set Report Definition command.
Reserved2Information from a work file in the Custom 2 column of the Set Report Definition command.
Reserved3Information from a work file in the Custom 3 column of the Set Report Definition command.
Reserved4Information from a work file in the Custom 4 column of the Set Report Definition command.
Reserved5Information from a work file in the Custom 5 column of the Set Report Definition command.
ResultInformation from a work file in the Result column of the Set Report Definition command.
ResultMaxInformation from a work file in the Result Maximum column of the Set Report Definition command.
RollThe class Name from the Edit Classes command of the Roll or Homeroom class that the student is in.
Strand1 ... Strand30The full outcome for the Strand field of the Edit Outcomes command.
StrandName1 ... StrandName30The short outcome Name for the Strand field of the Edit Outcomes command.
StreetThe Street of the student from the Edit Students command.
StudentThe Given and Family names of the student from the Edit Students command.
StudentCountThe number of students in the same course as the student.
StudentCountClassThe number of students in the same class as the student.
SubjectThe Course name for report from the Edit Courses command.
SubjectBThe Alternate course name from the Edit Courses command.
SubjectCountThe number of subjects in the student's report.
SubjectListA lists of the subjects the student is in, commas are used to separate the subjects and the list beings with the number of subjects.
SubjectNumberThe number of the course on the report.
SuburbThe Suburb of the student from the Edit Students command.
TeacherThe Teacher shown in the Edit Classes command for the course.
UnitThe Units shown in the Edit Classes command for the course.
YearThe Year shown in the Edit Classes command for the course.
YearAdviserThe student adviser shown in the Edit Years command for the student.

 

  • Field names on a template must be from the Field name column in the table above. If the field names are changed in the Report Definition command you must still use the field name above, not the name that you give the field.

 

Contents
Search