I found away around it. Thanks for all your help. What I did was to have two hidden text box (txtFrom and txtTo) on my from. I have a function to get me the following das/period: Today, yesterday, This week, last week, this month, last month, this year, calendar year to date, and last year.
On...