would var1 = (char(39)) + .var + (char(39)) work?
Richard Kahl
On 3/31/2015 12:43 PM, Carpet Broker, Dick Fey wrote:
Sometimes you work on something so long your brain goes numb.
I want to build a query, user enters a vendor code, and the query gets
built.
Form: Enter PayCode users enters PH
Resulting query needs to read; where paycode = 'PH'
Cannot figure out how to get the query to pick up the PH with quotes.
have tried .variables, &variables, cannot get it to work.
The whole query is much more complex, but once I get the code to work
for 1 field, I am set.
Probably a 'duh' but I would welcome suggestions
Dick Fey
Carpet Broker Inc.