strSQL = ("SELECT operatorID FROM Calisan WHERE operatorBolumID=" & getGrvID) Set cn = CurrentDb Set rs = cn.OpenRecordset(strSQL, dbOpenDynaset)