activate sub form from another

  • Thread starter יריב החביב
  • Start date
×

יריב החביב

Hello,

I have on one form two subforms, in one of them the users INSERT the data

and the other calculate them as the users click a button after the insertion.

its look like that... "Me.Ttkoofot.Requery" ( Ttkoofot=calculation
subform)

I want that the calculation will work after the user insert the data in the
first

subform, i tried to write "Me.Trashi.Ttkoofot.Requery" (Trashi=main form)

but it didn't work

thank you for helping me

yariv
 
S

Svetlana

On After Update event of that form where the user inserts the new data
try this
Forms!Trashi!Ttkoofot.Form.Recalc
 
×

יריב החביב

thank you svetlana

it is not cousing the calculation to work

yariv
 
×

יריב החביב

hello svetlana,

i wrote requery insted of recalc, in your code and it's work

thanks again
 
Top