The following sample SQL code shows how to display the schedule start and end dates for a recurring gift.

SELECT
RECORDS.LAST_NAME, RECORDS.FIRST_NAME, GIFT.DATE_1ST_PAY as 'SCHEDULE START DATE', GIFT.Schedule_EndDate as 'SCHEDULE END DATE'

FROM
RECORDS INNER JOIN GIFT ON RECORDS.ID = GIFT.CONSTIT_ID

WHERE
GIFT.TYPE = 30 --Recurring gift type

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.