as for exception - you used sum in your example, so did I of course with division it would be wise to have something like:
for several controls simple way would be to move all computations and result displaying in one procedure which could be called from each event handler, like:
note that in gross field I used AfterUpdate event handler (so do_job is called after finished editing, while in eprem i left Change (do_job called after each change within)
I added 4 more controls just to show that all computations are done in one procedure taking into account state all controls on the form.
Bookmarks