The code above reports "clean!" It seems Me.Dirty is set true much later in the cycle of things since if I include a command button to test the state it returns "dirty."Code:Private Sub Form_Dirty(Cancel As Integer) If Me.Dirty Then MsgBox "dirty" Else MsgBox "clean" End If End Sub
Is this a v2010 bug? I don't remember encountering it in earlier versions.
Has anyone got a workaround?
I can't find anything relevant on the web.