I have a continuous form and what I would like to do is that in the Timer event, after the textbox that I specified refresh I would like my button named BtnHide to be automatically pressed, without having to click with my mouse....
Sure it’s possible. You should have an on click event defined for BtnHide which hides something you want to hide. When your timer fires and you know you want to do the hide, call the on click routine from your timer event. Robert Berman
Data Base consultant
Vulcan Software Services
thornmastr@yahoo.com
1) Is your command button on the same form your timer event is on.
2) If it is change the on click event procedure from Private to Public.
3) If your timer is on another form than your command button, post back. Robert Berman
Data Base consultant
Vulcan Software Services
thornmastr@yahoo.com
OK, then probably we are using the wrong name. Open your form in design view. Click on the button, click on properties, click on events. You should have an on click event specified and it should be an event procedure (not a macro). Click on the elipse (…) button. That should bring up the code. What is the name of the procedure? Robert Berman
Data Base consultant
Vulcan Software Services
thornmastr@yahoo.com
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.