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



SELECT dbo_SPECIAL_EVENT.ID, dbo_RECORDS.FIRST_NAME, dbo_RECORDS.LAST_NAME, dbo_RECORDS.ORG_NAME, dbo_TABLEENTRIES.LONGDESCRIPTION, dbo_ParticipantFees.NumUnits, dbo_ParticipantFees.GiftAmount, dbo_ParticipantFees.ReceiptAmount





FROM ((((dbo_Participants INNER JOIN dbo_SPECIAL_EVENT ON dbo_Participants.EventID = dbo_SPECIAL_EVENT.ID) INNER JOIN dbo_RECORDS ON dbo_Participants.RecordsID = dbo_RECORDS.ID) LEFT JOIN dbo_ParticipantFees ON dbo_Participants.ID = dbo_ParticipantFees.ParticipantsID) LEFT JOIN dbo_EventPrices ON dbo_ParticipantFees.EventPricesID = dbo_EventPrices.ID) LEFT JOIN dbo_TABLEENTRIES ON dbo_EventPrices.Unit = dbo_TABLEENTRIES.TABLEENTRIESID





WHERE (((dbo_SPECIAL_EVENT.ID)=3));

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.