My expectation is that lngCurRecID will remain set to the current record ID until such time that the function is complete, certainly until the user replies to the prompt:
If MsgBox(strPromptMsg, vbYesNo)
My belief being that the DelTran code is "parked" until the user responds.