Unbound Field

  • Thread starter Thread starter Pass-the-reality
  • Start date Start date
P

Pass-the-reality

I create an Unbound list box on my switchboard. Tied to the Unbound list box
is a query from another database. The list box is used as an alert system.
How can I set the list box to refresh automatically every 20 to 30 minutes?
 
Write your refresh code resetting the rowsource of the listbox, in the
Timer() event of the form. Set the timer interval for: 1200000 milliseconds.
 
Use the form's timer event. The timer intervial is in milliseconds, so 1000
= 1 second, so 1800000 would be 30 minutes
Then in the form's timer event:
Me.MyListBox.Requery
 

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

Back
Top