Template Keywords

Text - field

The /field/ keyword shows text from a field of information in SM-Reports with the current font and alignment.

/field/,<field name>,<left>,<top>,<right>,<bottom>

The field name must be a SM-Reports field name predefined for use on a report template. The field names are listed here and are not the names of the fields in the Set Report Definition command.

The left and top values specify the top left corner, and the right and bottom the bottom right corner of the frame.

The font is determined by the previous /serif/ or /sans/ keyword. The alignment is determined by the previous /left/, /right/, /centre/, /middle/ or /sideway/ keyword.

Example

This shows the name of the student in the bold serif font at 16 point. The text is centred in the frame.

/serif/,16,bold
/centre/
/field/,student,100,100,1000,150
  • Generally the /field/ keyword is used for items of information that only appear once on a page, such as a student name and year.
  • If a report template only has one course per page, the /field/ keyword would also be used for information such as results and a teacher's comment.

 

Contents
Search