After Confirm Delete

A

Allie

Hi

I have a main form and a sub form. Items added to the sub
form are totaled on the main form.

Problem: if an item is deleted from the subform the totals
on the main form remain unchanged.

How do I change the totals on the main form?

Thanks
 
D

Dirk Goldgar

Allie said:
Hi

I have a main form and a sub form. Items added to the sub
form are totaled on the main form.

Problem: if an item is deleted from the subform the totals
on the main form remain unchanged.

How do I change the totals on the main form?

Thanks

That would depend on how the totals on the main form are calculated. If
it's by calculated controls, you may need to execute

Me.Parent.Recalc

from the subform.
 

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