Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Requery a listbox on a Timer

Status
Not open for further replies.

mybers

IS-IT--Management
Mar 24, 2004
62
PH
HiAll

Short question I hope, I have a subform that has a listbox which contains Employee's names, Time-in/out etc.. which is being used/updated by the minutes or hours etc...from a Third party VB program.

Now Im hoping to write a code that will requery the listbox on a timer basis. I hope this situation is clear...

Any sugestions would be of good help. thanks in advance

mybers
 
Hallo,

Set the TimerInterval value to something suitable, then put Me!lstEmployeeTracking.Requery in the OnTimer Event Procedure.
You may find you have to put other code in to make it behave as you want (ie keep the selected row, or whatever)

- Frink
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top