Dsum in Qry for total payments on an account for last 90 days

T

Travis

I have a query which contains information on accounts for the prior 90 days
based on a table of claim information. I want to build a query that will
take total the payments made in the last 90 on accounts. All tables contain
DE_Account as a text field. I have a query built that works when I use this
formula:

Total_Payments: DSum("[Payment_Amount]","Qry_Rpt_TblPaymentInfo","DE_Account
= '861560621'")

When I try to make the DSum dynamic on DE_Account it fails:
Total_Payments: DSum("[Payment_Amount]","Qry_Rpt_TblPaymentInfo","DE_Account
= ' [Qry_Rpt_90_Day_Liquidation]! [DE_Account] '")

Qry_Rpt_90_Day_Liquidation is the query I am trying to build.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Calculate Percentage of Total for Category 6
DSUM QUESTION 1
Running total on a form using DSum 4
Use of Dsum in a non equi join query 6
DSUM in a query 0
DSUM Error 4
DSum on a report 5
DSum - running total 2

Top