kstoltz1979
New member
- Local time
- Today, 01:12
- Joined
- Mar 26, 2009
- Messages
- 2
I have multiple tables. Both have a similar unit number. What I want to do is match those and then have criteria like for one have it check to make sure Renew is Yes and for the other one say when Lease Exp_Date is end of this month. Here is the code I have and it does not work.
=DCount("[Lease Exp_Date]","Tenant Info","[Lease Exp_Date] = DateSerial(Year(Date()), Month(Date()) +1,0)") And DCount("[Renew]","LseRenew","([Renew] = Yes")
When I run them DCount's seperately I get the answers I expect I just simply can't get them to work together. Any help is much appreciated I'm really killing myself trying to get this answer. Thanks! Kyle
=DCount("[Lease Exp_Date]","Tenant Info","[Lease Exp_Date] = DateSerial(Year(Date()), Month(Date()) +1,0)") And DCount("[Renew]","LseRenew","([Renew] = Yes")
When I run them DCount's seperately I get the answers I expect I just simply can't get them to work together. Any help is much appreciated I'm really killing myself trying to get this answer. Thanks! Kyle