It does not seem that your code is firing. So, maybe you can be explicit with the control name in order to make sure you are evaluating the correct thing. Also place another message box just before that line for good measure. Of course, stepping through it in Debug Mode is always an option.
Code:
msgbox "Hello from the procedure! " & Me.ysnPacked.Value
If Me.ysnPacked.Value = True Then
MsgBox " You must uncheck 'Packed' field in order to make any changes to this record."
Exit Sub
ElseIf Me.ysnPacked.Value = False Then
With DoCmd