Create a SQL query using RODBA

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


dbo_GIFT.ID, dbo_GiftSplit_1.Amount AS Pledge, dbo_FUND_1.DESCRIPTION AS [Pledge Fund], dbo_GiftSplit.Amount AS Payment, dbo_FUND.DESCRIPTION AS [Payment Fund], dbo_GIFT.CONSTIT_ID


(((dbo_GiftSplit AS dbo_GiftSplit_1 INNER JOIN (((dbo_GIFT INNER JOIN dbo_Installment ON dbo_GIFT.ID = dbo_Installment.PledgeId) INNER JOIN dbo_InstallmentPayment ON dbo_Installment.InstallmentId = dbo_InstallmentPayment.InstallmentId) INNER JOIN dbo_GIFT AS dbo_GIFT_1 ON dbo_InstallmentPayment.PaymentId = dbo_GIFT_1.ID) ON dbo_GiftSplit_1.GiftId = dbo_GIFT.ID) INNER JOIN dbo_FUND AS dbo_FUND_1 ON dbo_GiftSplit_1.FundId = dbo_FUND_1.ID) INNER JOIN dbo_GiftSplit ON dbo_GIFT_1.ID = dbo_GiftSplit.GiftId) INNER JOIN dbo_FUND ON dbo_GiftSplit.FundId = dbo_FUND.ID




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.