Save Record

  • Thread starter Thread starter Grimwadec
  • Start date Start date
G

Grimwadec

In a modal pop up form's subform I wish to save a record without having to
exit it so that a report reflects the current data in a control in the
subform. Can anybody help please.
 
Grimwadec said:
In a modal pop up form's subform I wish to save a record without having to
exit it so that a report reflects the current data in a control in the
subform. Can anybody help please.

In code behind the subform, include:

Me.Dirty = False

That does an immediate save of the current record.

Or, if you wish to run the code in the main form:

Me.SubformControlName.Form.Dirty = False
 
Back
Top