troubleshooting Question

Dsum - add criteria for [PaymentDate]

Avatar of pdvsa
pdvsaFlag for United States of America asked on
Microsoft Access
6 Comments3 Solutions53 ViewsLast Modified:
Experts, how can I modify the below False part (the Dsum) to only sum if tblPayments.[PaymentDate] is not null (meaning the field has a date in it).  The below is in the query design window.  II am not sure if it matters but tblPayments is not a table in the query.  

thank you

SumPayments: IIf([PaidInFullYN]=True,"Paid In Full",DSum("Amount","tblPayments","[LCID] = " & [LetterOfCreditID]))
Join our community to see this answer!
Unlock 3 Answers and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros