You're trying to open a recordset, rst, but you're also trying to use the recordset inside of the UPDATE statement. Which I don't think exists at that point.
Without knowing more about what you're doing, my guess is that the DateDiff should be done on a field in the Cases table.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.