>In validation for a field on a form I want to be able to execute the code attached to a button on the form. In certain instances, this code needs to be able to set focus to another control. You can't set focus to another control from within a valid. Is there a way to add a click event to the event queue. I though raiseevent would solve my problem, but it doesn't add it to the event queue for processing after valid is finished, it processes it immediately just as if I had called button.click(). Is there any way to add an event to execute after valid() finishes?
You can set focus to another control in Valid method in at least two ways which are documented in the help for Valid method.
--sb--