strSQL = ""
strSQL = "SELECT Max([tblUsrGrp].[UsrGrpID]), FROM tblUsrGrp"
strSQLNew = "INSERT INTO tblRev (RvTbl, RvTblRcrdId, RvNmbr, RvDt, RvTm, RvBy, RvFldNm, RvFldOldData, RvFldNewData) " & _
"VALUES ('tblUsrGrp', " & strSQL & ", '0', date(), time(), Sec_GetUserName, 'UsrGrpID', 'New', 'New')"
|