requery on parent form looses original record

E

eux

Hello everybody!

I have a Form1 with some fields and a button that opens a Form2.

Some fields on Form1 are calculated on values in Form2.

When I change something in Form2 I want calculated fields in Form1 to
be updated.

I used Forms!From1.requery on the event onClose of Form2, but this
takes Form1 to its first record. I need the record to remain the one
from where I opened Form2.

Could you help me please.

Thank you in advance

eux
 
A

Allen Browne

A requery loads the form again. If you just want to update the calculated
fields, try a Recalc instead.
 

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