Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hello, I have the following equati

Status
Not open for further replies.

tennis

Technical User
Aug 23, 2001
18
US
Hello,
I have the following equation in the control source and it works:
=DSum("[Amt of Dues]","City","[Amt Paid]=0")

Also, the following works:
=DSum(&quot;[Amt of Dues]&quot;,&quot;City&quot;,&quot; [City]![Date Paid]<=&quot; & &quot;[Reports]![Combined Dues Ending]![Select_Date]&quot;)

However, when I try to use an AND statement I don't get any results. The equation I am using is:

=DSum(&quot;[Amt of Dues]&quot;,&quot;City&quot;,&quot;[Amt Paid]=0 And &quot; &
&quot;[City]![Date Paid] <= #&quot; &
[Reports]![Combined Dues Ending]![Select_Date] & &quot;#&quot;)

Thank you



 
Hi ten,

After pasting the above, I got double spaces within the text
(specifically directly after &quot;[Amt Paid]=0 And &quot;).

Only thing I could see.

Reply if no diff....

Regards,

Darrylle



&quot;Never argue with an idiot, he'll bring you down to his level - then beat you with experience.&quot;
 
The double spaces won't make a difference. Are you positive that there are data that match both of those criteria?

Jeremy =============
Jeremy Wallace
Designing, Developing, and Deploying Access Databases Since 1995

Take a look at the Developers' section of the site for some helpful fundamentals.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top