hb3477:
It's quite simple. I have a button named "Check...." in a form with several fields. When pressing this button the check will be different depending on which field has focus.
/Hans
I guess it's not so simple, perhaps the theory of what you want to do is simple. Perhaps you can explain the "checks".
Example/if field 1 is blank then do something to field 2 & 3 if field 2 is blanks then do something to 4 & 5....etc etc?????
It's funny sometimes & I read posts and try so hard to understand what they really want that I miss the obvious on occasion.
When you click your button - you've lost your focus - nice catch