L
Luc
I'm trying to use the between and operators
in a recordset like this:
Set rstin = dbs.OpenRecordset("Select * From
tblTenantsinSplit Where StartDate Between #" & varDateBeg
& "# And #" & varDateEnd & "# _
Or EndDate Between #" & varDateBeg & "# And #" &
varDateEnd & "#")
For some reasom I get a syntax error.
Does anyone see any reason why i'm getting this error?
TIA.
in a recordset like this:
Set rstin = dbs.OpenRecordset("Select * From
tblTenantsinSplit Where StartDate Between #" & varDateBeg
& "# And #" & varDateEnd & "# _
Or EndDate Between #" & varDateBeg & "# And #" &
varDateEnd & "#")
For some reasom I get a syntax error.
Does anyone see any reason why i'm getting this error?
TIA.