I think your idea is actually a very good one. There is a potential loophole there if an operator is continually working on data on the same form (particularly if there are only a few controls on it).
After line #29 you can add an If statement just like the preceeding ones that checks for
Err = 438 and sets that variable (ActiveControlVa lue) to either a specific string or possibly even Null. That should work nicely for you.
Leave a comment: