Setting focus on a main form from a subform

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hey all.

I have code that is based from a subform that resides in a main form. The
problem I am having, is what the code does, puts the main form in edit mode,
and from the code in the subform i can not take it out of edit mode, sure I
can save it afterwards, but this presents a few issues. Is their anyway from
a subform to save the record you are altering in the main form?
 
wow thanks!!!

what exactly does that property do? I think my understanding of it might be
skewed
 
The Dirty property is set to True whenever an (form or report) object's data
have been changed. Once saved or cancelled, the Dirty property is set back
to False. You can force an object to save its data by setting the property
to False in your code.
 
Back
Top