That's not what I said to use. Look at what I gave you again (reproduced
below, with names changed to reflect your new information).
See how I've got transaction date outside of the quotes in the DSum, and I'm
using the Format statement on it?
SELECT TransactionDate, CashPaidAmount,
DSum("[CashPaidAmount]","CashPaid","TransactionDate <=" &
Format([TransactionDate],"\#mm\/dd\/yyyy\#")) AS Accumulated
FROM CashPaid;
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thank you Doug for your prompt help. But after I run this SQL, I see
> this below
>
> SELECT CashPaid.TransactionDate, CashPaid.CashPaidAmount,
> DSum("[CashPaidAmount]","CashPaid","TransactionDate <=transactiondate")
> AS Accumulated
> FROM CashPaid;
>
>
> Date Paid Cash Paid Amount Accumulated
> 2/1/1997 $500.00 2000
> 3/1/1997 $800.00 2000
> 11/5/1996 $700.00 2000
>
>
> What I did is wrong?
>