I have a statement report that I'm trying to get the sum of the TOTAL column WHERE the COMPDATE is between DATE()-30 and date-60.
I have tried the expression below but all I get is ERROR.
=Sum([DUE]*([COMPDATE] Between 0 And 30)*-1)
I have also tried to do it with the DSUM function and get the same results.
Text64 = DSum("[DUE]", "qrybilling_statement", "[compdate]<date()-30 and > data()-60"
anybody have any ideas, this is the last piece I need to complete my project. there has to be an easy way to do this
thanks again,
Ryan
I have tried the expression below but all I get is ERROR.
=Sum([DUE]*([COMPDATE] Between 0 And 30)*-1)
I have also tried to do it with the DSUM function and get the same results.
Text64 = DSum("[DUE]", "qrybilling_statement", "[compdate]<date()-30 and > data()-60"
anybody have any ideas, this is the last piece I need to complete my project. there has to be an easy way to do this
thanks again,
Ryan