On Dirty event of form

E

Eric Blitzer

If i trigger a save record event in the forms on dirty
event what happens.
Does it save the record if changes are made when I got to a
new record?
Does it save the record every time a control is changed?

Thanks
 
W

Wayne Morgan

I haven't tried it, but I would expect it to "immediately" save the record
every time a control's value is changed. It would not fire every time you
moved to a new record, that would be the form's Current event.

I say "immediately", because when you go to save the record, the form's
BeforeUpdate event will fire before the record is actually saved and
perhaps, depending on the timing, the dirty control's AfterUpdate event. The
control's BeforeUpdate event should have fired before the form became dirty.
 

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