Save Record

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.
 
S

Stuart McCall

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
 

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

Top