P
PeterM
I need to search a memo field and find all records with a specific date
somewhere in the comments...search_date below is defined as a "date"
Dim temp_search_date As String
temp_search_date = search_date
Set leads = dbCDMi.OpenRecordset _
("SELECT comments from leads_cdmi where comments like %" & temp_search_date
& "%", dbOpenForwardOnly)
why doesn't this work? I get an error message saying
3075
Syntax error in query expression 'comments like %11/14/2005%
thanks in advance!
somewhere in the comments...search_date below is defined as a "date"
Dim temp_search_date As String
temp_search_date = search_date
Set leads = dbCDMi.OpenRecordset _
("SELECT comments from leads_cdmi where comments like %" & temp_search_date
& "%", dbOpenForwardOnly)
why doesn't this work? I get an error message saying
3075
Syntax error in query expression 'comments like %11/14/2005%
thanks in advance!