Home > Back-end >  Dcount in unbound textbox
Dcount in unbound textbox

Time:12-06

=DCount("*","tblMainDBASE","Year([Date of Payment]) = " & [Text159]) AND ([Type of Application] = 'New Transaction' ")

This is my expression on unbound textbox

What i am expecting is count all record on tblMainDBASE with date of payment is equal to text159 and type of application is equal to New Transaction

CodePudding user response:

Correct the concatenating:

=DCount("*","tblMainDBASE","Year([Date of Payment]) = " & [Text159] & " AND [Type of Application] = 'New Transaction'")
  • Related