Hi, I need to run the code that is in the OnOpen method of my form whenever I click a Reset Command Button. How do I call the OnOpen method code from a comman OnClick method?
Rather than trying to calling the OnOpen method, I would suggest moving the common code to a separate function, then simply call that code when either opening the form or on the click event of the Reset Command Button.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.