boblarson
Smeghead
- Local time
- Today, 15:36
- Joined
- Jan 12, 2001
- Messages
- 32,059
Looks like this line in BuildFilter is messed up:
It should be:
I use the Chr(34) because it is easier to spot your problems with quotes that way. You were missing at least one ampersand.
Code:
varWhere = varWhere & "[Product] LIKE """ & Me.TextEnterProduct & "*"" AND "
It should be:
Code:
varWhere = varWhere & "[Product] LIKE " & Chr(34) & Me.TextEnterProduct & "*" & Chr(34) & " AND "
I use the Chr(34) because it is easier to spot your problems with quotes that way. You were missing at least one ampersand.