saving data in a subform

J

Jason

How do I save the data in a subform without closing the main form and without
moving to another record in the main form?
 
S

Stuart McCall

Jason said:
How do I save the data in a subform without closing the main form and
without
moving to another record in the main form?

Me.SubformControlName.Form.Dirty = False
 
M

Marshall Barton

Jason said:
How do I save the data in a subform without closing the main form and without
moving to another record in the main form?


Any changes to a bound subform's data will be saved
automatically when the focus moves to the main form.

The same is true when you navigate from one record to
another within the subform.

If you want to use a button (or some some other action
within the subform, then use:
Me.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