Hi COdegirl,
Yes you can. Just place single quotes around the variable, in case there is spaces in teh names, and in a query you only need one =.
But.. Why didn't you just try? Do not be afraid to try things.
Please start new questions in new threads. It is easier for people to find the 'current problem.'