L
Luc
I'm trying to open a recordset with the following
criteria:
Set rstin = dbs.OpenRecordset("Select * from tblrecordsin
Where StartDate Between #" & varDateBeg & "# And #" &
varDateEnd & "# Or EndDate Between #" & varDateBeg & "#
And #" & varDateEnd & "#")
When trying to run the routine the program halts at this
line and returns the following error message:
Object Variable or With Block Variable Not Set.
Anyone has any idea why I'm getting this error message?
Thanks...
criteria:
Set rstin = dbs.OpenRecordset("Select * from tblrecordsin
Where StartDate Between #" & varDateBeg & "# And #" &
varDateEnd & "# Or EndDate Between #" & varDateBeg & "#
And #" & varDateEnd & "#")
When trying to run the routine the program halts at this
line and returns the following error message:
Object Variable or With Block Variable Not Set.
Anyone has any idea why I'm getting this error message?
Thanks...