Report Smith & Report variables

I have a SQL Server Table (connected via ODBC 2.5) with a datetime
field. I want the user to give an interval of dates as selection
criteria. I have tried to create report variables of date or date/time
type but when I use them in the where-clause of the Select-statement I
get an "Type clash..." error.
Can anyone advice me?