Hey Guys, I'm all new new to Crystal Reports. I need some help on a Sum Amount that I want to return. This is how it needs to work:
Tabel LedgerTransactions
LedgerTransactions.DDate LedgerTransactions.Amount
11/01/2009 1000.00 <--Calculate
12/02/2009 1000.00 <--Calculate
12/02/2010 1000.00 <--Calculate
12/02/2010 1000.00 <--Calculate = TotAmount
12/02/2011 1000.00
12/02/2011 1000.00
This is based on transactions for Company A. I want to calculate the sum of all transaction for a certain date eg. Only for 2009. In principle the Total will be 4000.00 I've already got the Date which is
{@Last_Month}. The place where I'm stuck is where it neads to step through each record.
Explenation:
// Get record
Add to totalAmount then NExt record
// Else next record
//Exit Loop, Return TotalAmount