What about
=DSum("[T].[total]","[T]","[T].[tdate]<" & Forms![form1]![tar])
Don't forget :
- dates need to be surrounded by #
- string need to be surrounded by '
So, in fact, I'd probably be something more like
=DSum("[T].[total]","[T]","[T].[tdate]<" & Format(Forms![form1]![tar], "\#mm\/dd\/yyyy\#"))
Daniel Pineault, 2010-2017 Microsoft MVP
Professional Support: http://www.cardaconsultants.com
MS Access Tips and Code Samples: http://www.devhut.net