Onchange

  • Thread starter Thread starter Tony WONG
  • Start date Start date
T

Tony WONG

there are 3 boxes (A, B, C)

when i update "Box A", then there will be auto input to "Box B" by "after
update at Box A"

"Box C" value is also set according to "Box B"

Now i also add some code at "after update at Box A"

But i find i have many "Box A"s now. i have to repeat the code in the "Box
A"s

Can i set a property once "Box B" change in value (Box B value is changed by
code, not by user)?

Thanks in advance for your assistance.

Tony
 
I think you have:
- code in A_AfterUpdate to set B,
- code in B_AfterUpdate to set C
and you want to trigger the B_AfterUpdate when A changes.

You can do that by adding this line to the end of the A_AfterUpdate event
procedure:
Call B_AfterUpdate
 
Back
Top