In that case, I think you're missing an ampersand:
coursestaken WHERE sid = '" & var1
& "')"
HtH,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to:
This Mess We're In by
P.J. Harvey (Track 7 from the album:
Stories From The City, Stories From The Sea)
What's This?