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

Similar Threads

Remove Save Export Steps Pop-up 1
M.S. Word 365 1
DLookup in Continuous form 0
macOS Office365 Word 0
Split form 0
Dynamic Naming of Form Button 3
ASK Field Formatting 1
Copy previous record into form field 0

Top