I have a main form with a field xvalue.
I then have a subform - each record has a field iamt. I can sum iamt for related records and this goes into txtSumAmt in main form.
I want to prevent updates of the main tables if xvalue <> txtsumamt.
I can stop the update on the main form using a Before Update Event with
But