General discussion

Locked

Fire off a query on return to a hidden f

By rjcoy ·
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.

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Fire off a query on return to a hidden f

by AlterEgo2 In reply to Fire off a query on retur ...

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.

Collapse -

Fire off a query on return to a hidden f

by rjcoy In reply to Fire off a query on retur ...

The question was auto-closed by TechRepublic

Collapse -

Fire off a query on return to a hidden f

by MadestroITSolutions In reply to Fire off a query on retur ...

Use the Form_Activate() event. Any code you put in there will execute whenever the form becomes active.

Collapse -

Fire off a query on return to a hidden f

by rjcoy In reply to Fire off a query on retur ...

The question was auto-closed by TechRepublic

Collapse -

Fire off a query on return to a hidden f

by rjcoy In reply to Fire off a query on retur ...

This question was auto closed due to inactivity

Back to Web Development Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums