I have a form in which I have a text object where I have some VBA code on the after update to verify the input. If the input does not match the standard then I would like to put the focus back on that field so the user can reevaluate the data. I am unable to get Access to put the focus back on this object when the data does not fit the standard. Is there a trick to giving the object the focus when this condition arises?
I am working with software version and therefore have implemented some validation via VBA to ensure the user is not inserting bogus information. I have everything working except I’m unable to find a way to place the focus on this filed since it was the object that had the focus.
Any help would be greatly appreciated.
Birky
I am working with software version and therefore have implemented some validation via VBA to ensure the user is not inserting bogus information. I have everything working except I’m unable to find a way to place the focus on this filed since it was the object that had the focus.
Any help would be greatly appreciated.
Birky
Comment