Can anyone tell me why my code doesn't work...
Set rs2 = db.OpenRecordset("SELECT * FROM tblLicenses WHERE tblLicenses.userID=userName", dbOpenDynaset)

username is a string defined previously ("Brian").



thanks