Hi,
I am trying to delete records from table when closing the form. I have the code but not sure where i went wrong?
ThanksCode:Set rst1 = db1.OpenRecordset("SELECT * FROM grade4MultiAnswers") rst1.MoveFirst Do Until rst1.EOF rst1.Edit rst1!theanswer = "" rst1!iscorrect = 0 rst1.MoveNext rst1.Update Loop