mmm, its not really working how i expected. On my form unload i want to check if there have been any edits, if there has i want to display a custom save msgbox.if they choose no here then the edits will be discarded.
If Me.Dirty then
If MsgBox(strmsg, vbQuestion + vbYesNo, "Save Record?") = vbYes Then
...code here...
Else
DoCmd.RunCommand acCmdUndo
End if
yet me.dirty is returning false even when I have edited data?