refresh/requery automatically every 15 minutes

G

Guest

How can I have a form, based on a query to requery and/or refresh every 15
minutes as long the form is open? I guess I need some sort of time ... I
guess :)

Thank you,
Silvio
 
D

Douglas J. Steele

In the form's Load event, set its TimerInterval property to 15000. In the
form's Timer event, put your requery.

Note: Be careful doing this. Having a timer can lead to problems, especially
during development.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top