Field recalc

  • Thread starter Thread starter John
  • Start date Start date
Hi

How can I force a calculated form field to reclac?

Thanks

Regards

Hello. You can use a VBA code for AfterUpdate. What this does is
after a field is updated, it runs the code to recalculate the form.

For example, let's say the field you want to recalculate is me.field1
and let's say the field you populate to recalc this field is
me.field2.

Here's the code for me.field2 you want.

Private Sub field2_AfterUpdate(Cancel As Integer)

write your code in here to recalculate me.field1

End Sub


Good luck!

Dorothy
(e-mail address removed)
 

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

Back
Top