From: Grimwadec on
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
From: Stuart McCall on
"Grimwadec" <Grimwadec(a)discussions.microsoft.com> wrote in message
news:35553A46-0359-44E1-9494-40A730112C26(a)microsoft.com...
> 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

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