Data/data set change event

H

HB

I have code in my parent form I need to run after a subform inserts, updates,
or delteles a record. Sholuld I just put the call in those events or should I
use the Data or data set property? What is the difference? The f1 help was
not that great.

tia

HB
 
B

Brendan Reynolds

I think you mean the On Data Change and On Data Set Change properties? If
so, my understanding is that those apply only to Pivot Table View.
 
H

HB

Yes, you're right. Further exploration of the help explained that.

Thanks. I guess there is no global "data change" event for the
recordsource, I have to code for inserts, updates, and deletes separately.
 
B

Brendan Reynolds

You may not have to code for inserts and updates separately, unless you need
to distinguish between them The BeforeUpdate and AfterUpdate event
procedures are fired whenever a record is saved, regardless of whether the
record was saved as a result of inserting a new record or an update to a
previously inserted record.
 

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