strSql = "SELECT tblUsers.UserID FROM TBLUSERS WHERE tblUsers.UserID = strUSERID"
'Set the source query defInItIon to get the current records In curSourceQueryDef
Set rsResult = dbs.Execute(strSql, dbOpenDynaset)
The last line in this code is not working in VBA. Can anyone help me with this code? Thanks in advance!
'Set the source query defInItIon to get the current records In curSourceQueryDef
Set rsResult = dbs.Execute(strSql, dbOpenDynaset)
The last line in this code is not working in VBA. Can anyone help me with this code? Thanks in advance!