If you are executing code on the form, chances are your focus has left the
subform.
Whenever your focus leaves the subform, the data in the subform is saved,
and its Dirty property becomes false.
HTH
- Turtle
"Mark" <mm*****@earthlink.net> wrote in message
news:Ue*****************@newsread3.news.atl.earthl ink.net...
Is this the way to determine if a subform is dirty?
If Me!SFrmEnterActivityList.Form.Dirty Then
I use this statement in the Unload event of a form. When I click the Close
button, the statement is always false whether I have made a change in the
subform or not.
Thanks!
Mark