SELECT EA7RECORDS.FIRSTNAME, EA7RECORDS.LASTNAME, TABLEENTRIES.DESCRIPTION as [STATUS], ACADEMIC_YR.DESCRIPTION as [ACADEMIC YEAR], EA7APPLICATIONSENROLLMENTS_1.CLASSOF

FROM EA7STUDENTS
INNER JOIN EA7RECORDS ON EA7STUDENTS.EA7RECORDSID = EA7RECORDS.EA7RECORDSID
INNER JOIN EA7APPLICATIONSENROLLMENTS ON EA7STUDENTS.EA7RECORDSID = EA7APPLICATIONSENROLLMENTS.EA7RECORDSID
INNER JOIN TABLEENTRIES ON EA7APPLICATIONSENROLLMENTS.STATUS = TABLEENTRIES.TABLEENTRIESID
INNER JOIN EA7PROMOTIONSUMMARIES ON EA7STUDENTS.EA7STUDENTSID = EA7PROMOTIONSUMMARIES.EA7STUDENTSID
INNER JOIN EA7ACADEMICYEARS ON EA7PROMOTIONSUMMARIES.EA7ACADEMICYEARSID = EA7ACADEMICYEARS.EA7ACADEMICYEARSID
INNER JOIN TABLEENTRIES AS ACADEMIC_YR ON EA7ACADEMICYEARS.YEARID = ACADEMIC_YR.TABLEENTRIESID
INNER JOIN EA7APPLICATIONSENROLLMENTS AS EA7APPLICATIONSENROLLMENTS_1 ON EA7STUDENTS.EA7RECORDSID = EA7APPLICATIONSENROLLMENTS_1.EA7RECORDSID

WHERE EA7APPLICATIONSENROLLMENTS.ACTIVEENROLLMENT=-1
Disclaimer: Blackbaud provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes you are familiar with Structured Query Language and the tools used to create and modify SQL statements and Crystal Reports. Blackbaud Customer Support may help explain the functionality of a particular procedure, but we will not modify, or assist you with modifying, these examples to provide additional functionality.