Was hoping someone could help with this.
I'm trying to search between two Issue dates in a form using
Where = Where & " AND [DOI] BETWEEN #" + Me![IDStart] + "# AND #" & Me![IDEnd] & "#"
This is converted into a query (QueryDEF):
Set QD = db.CreateQueryDef("Dynamic_Query", "Select * from tblrecords " & (" where " + Mid(Where, 6) & ";"))
While this worked on an early test db I keep getting a 'Type Mismatch' error.
Could this be because I'm using the activeX calendar to update IDStart and IDEnd
Any advice would be appreciated
NM
I'm trying to search between two Issue dates in a form using
Where = Where & " AND [DOI] BETWEEN #" + Me![IDStart] + "# AND #" & Me![IDEnd] & "#"
This is converted into a query (QueryDEF):
Set QD = db.CreateQueryDef("Dynamic_Query", "Select * from tblrecords " & (" where " + Mid(Where, 6) & ";"))
While this worked on an early test db I keep getting a 'Type Mismatch' error.
Could this be because I'm using the activeX calendar to update IDStart and IDEnd
Any advice would be appreciated
NM