This is a combination crystal and SQL issue:
I created a VIEW in enterprise manager to capture a payment based on date and type. Here it is
SELECT giftkey, giftid, gifteffdat, giftamount, giftplgkey, gifttype, giftclass2, giftclass1, giftacctgp
FROM dbo.gifts
WHERE (giftclass2...