Dirty property on subform

H

Harry

Hi all, How can I reference dirty for a subform? I can use me.dirty for the current form. I tried Me.SubformName.Form.Dirty and did not work. I am using Access 2002 on Access 2000 format.

Thanks in advance.
 
W

Wayne Morgan

I just tried what you have and it returned the correct value. Could the
problem be "SubformName"? This should actually be the name of the control on
the main form that holds the subform, not the name of the subform.

Another possibility may be what you are doing to run this check. If the
subform is dirty then you return to the main form, such as to click a button
on the main form, then the subform changes were saved at that point and the
subform isn't dirty.

--
Wayne Morgan
Microsoft Access MVP


Harry said:
Hi all, How can I reference dirty for a subform? I can use me.dirty for
the current form. I tried Me.SubformName.Form.Dirty and did not work. I am
using Access 2002 on Access 2000 format.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top