No clue why this is happening, I'm hitting 'save' one time. Guess my replies are twice as good!
I understand the 'front end/back end collision' issue.
I have this bit of code in an agent that's supposed to prevent rep/save prompts
flag = doc.Save(False, False)
If flag = False Then
' This means another user edited the doc while the agent was also trying to, so go back to the beginning of this function and try again.
'loop back and try again
End If
You could also create a temporary 'lock doc' when the user puts it into edit mode and have your code check for the lock. The lock clears when the person exist the doc.