Here's the code. First I am inserting the record into the archive table, then i am trying to delete the current record...that is where it's failing....
ws.BeginTrans
bInTrans = True
Set db = ws(0)
'Step 2: Execute the append.
strSql = "INSERT INTO [Archived_DDQs] (Status, Assigned_To, AssignedDate, Task_Received) VALUES('" & Forms!frmTasksUpdate!Combo570 & "', '" & Forms!frmTasksUpdate!Combo584 & "', '" & Forms!frmTasksUpdate!txtAssignedDt & "', '" & Forms!frmTasksUpdate!txtReceived & "');"
db.Execute strSql, dbFailOnError
'Step 3: Execute the delete.
strSql = "DELETE FROM Assigned_DDQs WHERE Parent = " & Forms!frmTasksUpdate!txtItem
db.Execute strSql, dbFailOnError
'Step 4: Get user confirmation to commit the change.
strMsg = "Archive " & db.RecordsAffected & " record(s)?"
If MsgBox(strMsg, vbOKCancel + vbQuestion, "Confirm") = vbOK Then
ws.CommitTrans
bInTrans = False
End If