L
Linda
I,m using the following statment to limit my recordset:
Dim vardatebeg, vardateend as variant
Set rstin = dbs.OpenRecordset("Select * From tblAllDates
Where CallDate Between #varDateBeg# And #varDateEnd#")
When debugging I,m getting the follwing error message:
syntax error in date in query expression.
Can anyone see what I'm doing wrong here? TIA
Dim vardatebeg, vardateend as variant
Set rstin = dbs.OpenRecordset("Select * From tblAllDates
Where CallDate Between #varDateBeg# And #varDateEnd#")
When debugging I,m getting the follwing error message:
syntax error in date in query expression.
Can anyone see what I'm doing wrong here? TIA