Well, I've shot the last six hours or so trying to figure out where, how many and what type of quotes to use. I know this has got to be pretty simple - but I can't seem to see the rhyme and reason to how/when to use them.
I'm loading up the row source for a list box with a query. Picking up with the "where" portion... This (below) is the closest I've gotten. It's close - but it throws the correct values into the query (design view) surrounded by single quotes. I can't seem to get just the value. Both fields listed in the "where" portion are numeric.
WHERE (((Articles.ID) = '" & Me!ID.Value & "') And ((GetWordCount([KeyWord], 1, [Article])) > '" & Me.KeyWord_1.Value & "' )) ORDER BY KeyWords.RS DESC;"
Do I need to use double/triple quotes somewhere to "escape" the ones I've used?
I'm loading up the row source for a list box with a query. Picking up with the "where" portion... This (below) is the closest I've gotten. It's close - but it throws the correct values into the query (design view) surrounded by single quotes. I can't seem to get just the value. Both fields listed in the "where" portion are numeric.
WHERE (((Articles.ID) = '" & Me!ID.Value & "') And ((GetWordCount([KeyWord], 1, [Article])) > '" & Me.KeyWord_1.Value & "' )) ORDER BY KeyWords.RS DESC;"
Do I need to use double/triple quotes somewhere to "escape" the ones I've used?