I did something similar i think a while back, hopefully you'll be able to pick this apart and pull out the bits you need, in the date colulmn of the query design view, criteria one was
Between IIf(IsNull([Forms]![frmquerydept]![txtStart]),0,[Forms]![frmquerydept]![txtStart]) And...