I have a dcount function that I am running in a query. The dcount has 3 criteria. I can't seem to get the syntax correct. Could someone take a look at this and set me straight.
DCount("[Trans_Key]","[Payment]","[Trans_SR]= " & [Rep_Name_1] And [Trans_Type] = 'Com' And [Trans_Key] = [Rev_Key]") AS Previous_Pmts
When I run the query it asks me to key in the Trans_Type.
Thanks!
DCount("[Trans_Key]","[Payment]","[Trans_SR]= " & [Rep_Name_1] And [Trans_Type] = 'Com' And [Trans_Key] = [Rev_Key]") AS Previous_Pmts
When I run the query it asks me to key in the Trans_Type.
Thanks!