mbath20110
Registered User.
- Local time
- Today, 11:00
- Joined
- Jul 17, 2003
- Messages
- 13
howdy folks,
having a syntax issue. trying to build a SQL statement in VBA that creates/allows for LIKE operators. Here's what I've got so far:
strWHERE = strWHERE & " AND ((tblCLIENT.ClientName) = " & "LIKE " & " '*'cboClient '*' " & ")"
but when I run it, I get a 3075 runtime error:
Snytax error (missing operator) in query expression '((tblCLIENT.ClientName) = LIKE '*' & cboClient & '*"
thanks ...
having a syntax issue. trying to build a SQL statement in VBA that creates/allows for LIKE operators. Here's what I've got so far:
strWHERE = strWHERE & " AND ((tblCLIENT.ClientName) = " & "LIKE " & " '*'cboClient '*' " & ")"
but when I run it, I get a 3075 runtime error:
Snytax error (missing operator) in query expression '((tblCLIENT.ClientName) = LIKE '*' & cboClient & '*"
thanks ...