Note: This code is written and intended for use in Microsoft Access and will not work in the SQL Server Query Analyzer.



SELECT dbo_EA7RECORDS.USERDEFINEDID, dbo_EA7ATTRIBUTETYPES.DESCRIPTION, dbo_EA7STUDENTATTRIBUTES.TEXT
FROM (dbo_EA7RECORDS INNER JOIN dbo_EA7STUDENTS ON dbo_EA7RECORDS.EA7RECORDSID = dbo_EA7STUDENTS.EA7RECORDSID) INNER JOIN (dbo_EA7STUDENTATTRIBUTES INNER JOIN dbo_EA7ATTRIBUTETYPES ON dbo_EA7STUDENTATTRIBUTES.ATTRIBUTETYPESID = dbo_EA7ATTRIBUTETYPES.ATTRIBUTETYPESID) ON dbo_EA7STUDENTS.EA7STUDENTSID = dbo_EA7STUDENTATTRIBUTES.PARENTID
WHERE (((dbo_EA7RECORDS.USERDEFINEDID)="STU002"));

Disclaimer: We provide 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. Our 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.