It did not work. I found a code for beforeupdate suggested by one of this forum member CEH as shown below. However, the problem with this code that we cannot use the same materialcode for different JobNo (primary key).In the other words, the code used in beforeupdate event consider the...