If FName is a text type then you need to enclose it in quotes:
rs.open "SELECT * FROM table WHERE Fname='" & IDReq & "'", oConn, 1, 1
HtH,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to:
Sleeping With Ghosts by
Placebo (Track 4 from the album:
Sleeping with Ghosts)
What's This?