Hi,
Im trying to have more than where criteria in a CurrentDb.Execute statement. I was wondering if you could tell me if i needed a 'where' for every 'and' (eg where x and where y). This is what i have at the moment:
CurrentDb.Execute "Update TblPvnJustSTORE set TblPvnJustSTORE.Justification = '" & _
strAtt & "' Where TblPvnJustSTORE.ProjectNo = " & StrProj & _
" And TblPvnJustSTORE.PvnNo = " & StrPvn & _
" And TblPvnJustSTORE.Rev = " & strRev
Thank you
Im trying to have more than where criteria in a CurrentDb.Execute statement. I was wondering if you could tell me if i needed a 'where' for every 'and' (eg where x and where y). This is what i have at the moment:
CurrentDb.Execute "Update TblPvnJustSTORE set TblPvnJustSTORE.Justification = '" & _
strAtt & "' Where TblPvnJustSTORE.ProjectNo = " & StrProj & _
" And TblPvnJustSTORE.PvnNo = " & StrPvn & _
" And TblPvnJustSTORE.Rev = " & strRev
Thank you