Hi Mike,
I think your approach should work, but I want to ask a question: Why do we need to put a code into valid event of button (Add button). For me it seems no sense.
I prefer our approach, we save current focus in the when event and restore it in the click.
>>I tried to use the SETFOCUS command but you cannot use this in the valid event of an object. Is there another way to do this?
>
>Say you want to go to the next field, put RETURN 1, the previous field would be RETURN -1 and the next fifth control would be RETURN 5. Does this help?
If it's not broken, fix it until it is.
My Blog