Report Builder Tables (School Activities)
About Tables and Fields
Tables (Views)
Tables hold Fields which in turn contain data for individual records within, or relating to, the School Activities module. When creating a new report, the required Tables must be selected in order that individual fields may subsequently be selected.
A number of fixed Tables are available for selection in addition to Tables containing user fields for the current System school. When creating a report, the User must decide which Tables are to be selected in order that all the required information may be included.
Linked Tables
In order to draw data from more than one Table, the appropriate tables must be 'linked'. Tables are linked by selection of suitable Fields within each table. For example, by default, the Forms Table is linked to the Current Pupils table using the 'Code' field in the Forms table and the 'Form code' field held in the 'Current Pupils' table. Many tables already have system-defined links. The option is however available to manually link together different tables or to amend existing links for an individual report.
|
The User will only have access to those tables (views) to which he has been granted access via 'ODBC Logins'. |
Fields
Fields are held within Tables, and contain data for inclusion in the report. Fields may not be selected until the applicable Table has first been selected. Once a field has been selected, the data contained within that field will be included in the report for each record which is subsequently selected within the report query. For example if the Pupil 'Name' field is selected from the Current Pupil table, then the pupil name will be printed for all those pupils which are subsequently selected within the report.
|
See 'Report Builder - List of Tables and Fields' for a list of all the fields held within each of the Report Builder Tables. |
Report Builder Tables (School Activities)
List of available Tables and Table Links
The available tables are listed below together with the table (view) name. An additional 'Links' column is shown listing each of those other tables which are linked to the table. These links are the default System links. It is possible to manually create links to different tables. (See 'Linking Tables')
Note: '??' refers to the current School code.
|
Table |
Table Name |
Links
|
|
Accidents |
??_ACCIDENT |
No default links
|
|
Activity |
??_SA_ACTIVITY |
No default links |
|
Activity Diary |
??_SA_ACTIVITY_DIARY |
Activity Timetables Current Pupil Contacts Current Pupils Past Pupil Contacts Prospective Pupil Contacts Staff
|
|
Activity Notes |
??_AD_CURR_SECURENOTES |
Current Pupils Current Pupils All Years Past Pupils Prospective Pupils |
|
Activity Timetables |
??_SA_ACTIVITY_TIMETABLES |
Activity Diary
|
|
Checks |
??_DB_CHECKS |
|
|
Current Pupil Contacts |
??_AD_CURR_CONTACT |
Activity Diary Current Pupils Music Lesson Diary Relationships School Trips
|
|
Current Pupil Contacts All Years |
??_AD_CURR_CONTACT_ALL_YEARS |
Current Pupils Relationships
|
|
Current Pupil Medical Details |
??_MD_CURRENT_DETAILS |
Current Pupils Current Pupils All Years
|
|
Current Pupil Medical Notes |
??_MD_CURR_NOTES |
Current Pupils Current Pupils All Years
|
|
Current Pupil User Fields |
??_AD_CURR_PUPIL_USER_FIELDS |
Current Pupils Current Pupils All Years Past Pupils Prospective Pupils
|
|
Current Pupils |
??_AD_CURR_DETAILS |
Activity Diary Current Pupil Contacts Current pupil Contacts All Years Current Pupil Medical Details Current Pupil Medical Notes Current Pupil User Fields Form Years Forms Houses Music Lesson Diary Notes Pupil Subject Sets Relationships School Trips Staff
|
|
Current Pupils All Years |
??_AD_CURR_DETAILS_ALL_YEARS |
Current Pupil Medical Details Current Pupil Medical Notes Current Pupil User Fields Form Years Forms Houses Notes Pupil Subject Sets Relationships Staff
|
|
Current Pupils Basic Details |
??_AD_CURR_BASIC_DETAILS |
No default links
|
|
Current Pupils Last Year |
??_AD_CURR_DETAILS_LAST_YEAR |
No default links |
|
Current Pupils Next Year |
??_AD_CURR_DETAILS_NEXT_YEAR |
No default links |
|
Form Years |
??_AD_CURR_FORM_YEARS |
Current Pupils Current Pupils All Years Forms Prospective Pupils
|
|
Forms |
??_AD_CURR_FORMS |
Current Pupils Current Pupils All Years Form Years Past Pupils Prospective Pupils Staff
|
|
Houses |
??_AD_CURR_HOUSES |
Current Pupils Current Pupils All Years Past Pupils Prospective Pupils Staff
|
|
Local Language Name and Address |
??_DB_NAME_ADDRESS_LOCAL_LANGUAGE
|
No default links |
|
Music Lesson |
??_SA_MUSIC_LESSON |
No default links |
|
Music Lesson Diary |
??_SA_MUSIC_LESSON_DIARY |
Current Pupil Contacts Current Pupils Music Lesson Timetables Past Pupil Contacts Prospective Pupil Contacts Staff
|
|
Music Lesson Timetables |
??_SA_MUSIC_LESSON_TIMETABLES |
Music Lesson Diary
|
|
Notes |
??_AD_CURR_SECURENOTES |
Current Pupils Current Pupils All Years Notes Past Pupils Prospective Pupils
|
|
Past Pupil Contacts |
??_AD_PAST_CONTACT |
Activity Diary Music Lesson Diary Past Pupils Relationships School Trips
|
|
Past Pupil Medical Details |
??_MD_PAST_DETAILS |
Past Pupils
|
|
Past Pupil Medical Notes |
??_MD_PAST_NOTES |
Past Pupils
|
|
Past Pupils |
??_AD_PAST_DETAILS |
Current Pupil User Fields Forms Houses Notes Past Pupil Contacts Past Pupil Medical Details Past Pupil Medical Notes Relationships Staff
|
|
Personal Documents |
??_DB_PERSONAL_DOCUMENTS |
No default links |
|
Photographs |
??_DB_PHOTOGRAPHS |
Current Pupil Contacts Current Pupil Contacts All Years Current Pupils Current Pupils All Years Current Pupils Basic Details Past Pupil Contacts Past Pupils Prospective Pupil Contacts Prospective Pupils
|
|
Prospective Pupil Contacts |
??_PROS_CONTACT |
Activity Diary Music Lesson Diary Prospective Pupils Relationships School Trips
|
|
Prospective Pupil Medical Details |
??_MD_PROS_DETAILS |
Prospective Pupils |
|
Prospective Pupil Medical Notes |
??_MD_PROS_NOTES |
Prospective Pupils |
|
Prospective Pupils |
??_AD_PROS_DETAILS |
Current Pupil User Fields Form Years Forms Houses Notes Prospective Pupil Contacts Prospective Pupil Medical Details Prospective Pupil Medical Notes Relationships Staff
|
|
Pupil Parents |
??_AD_CURR_PUPIL_PARENTS |
Current Pupils |
|
Pupil Subject Sets |
??_AC_SUBJECT_SETS |
Current Pupils Current Pupils All Years Staff
|
|
Relationships |
??_RELATIONSHIPS |
Current Pupil Contacts Current Pupil Contacts All Years Current Pupils Current Pupils All Years Past Pupil Contacts Past Pupils Prospective Pupil Contacts Prospective Pupils Staff
|
|
School Calendar |
??_DB_SCHOOL_CALENDAR |
No default links
|
|
School Trips |
??_SA_SCHOOL_TRIPS |
Current Pupil Contacts Current Pupils Past Pupil Contacts Prospective Pupil Contacts Staff
|
|
Staff |
??_ST_DETAILS |
Activity Diary Current Pupils Current Pupils All Years Forms Houses Music Lesson Diary Past Pupils Prospective Pupils Pupil Subject Sets Relationships School Trips Staff User Fields
|
|
Staff User Fields |
??_ST_STAFF_USER_FIELDS |
Staff
|
|
Term Dates |
??_TERM_DATES |
No default links
|
See 'Report Builder - List of Tables and Fields' for a list of all the fields held within each of the Report Builder Tables. |