How can I REcalculate the display value (the default value) of a textbox based on an input in another textbox.
lets say
I have text box called: investInfraSysTr04
when I modify its value, I want the value of second textbox: investInfraSysTrAvecMarge07 to change (the default value is always equal to =[Formulaires]![Formulairesc01]![investInfraSysTr04]*2)
I tried to use this code, but it didn't work
after update:
Private Sub investInfraSysTr04_AfterUpdate()
Me![investInfraSysTr04].Requery
Me.Refresh
End Sub
can anyone help please?
thank you in advance.
Lina
lets say
I have text box called: investInfraSysTr04
when I modify its value, I want the value of second textbox: investInfraSysTrAvecMarge07 to change (the default value is always equal to =[Formulaires]![Formulairesc01]![investInfraSysTr04]*2)
I tried to use this code, but it didn't work
after update:
Private Sub investInfraSysTr04_AfterUpdate()
Me![investInfraSysTr04].Requery
Me.Refresh
End Sub
can anyone help please?
thank you in advance.
Lina