Discussion Locked

Fire off a query on return to a hidden f

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How can I fire off an SQL query upon returning to a Visual Basic form that is hidden? I need the query to run immediately upon the users return to the original form.

5 replies

by alterego2

When the user returns to the form then the PAINT event will fire (as long as the form is definitely hidden) and you could set a procedure to fire your query then.

This discussion is closed to new replies.