Refresh All SubForms

deagio

Registered User.
Local time
Today, 19:47
Joined
Dec 28, 2004
Messages
17
Hi,

I have a form called [Summary] with three subforms on it, [Skips_Avaliable] [Delivered Orders] [Completed Orders].

And I was wondering if it would be possible to refresh all the subforms on the form every 30 seconds or so, any ideas if this is possible?

Thanks,


James
 
Use the OnTimer event, setting the form "Timer Interval" property to 60000, e.g.

Private Sub Form_Timer()
forms!MainForm!Subform1.form.refresh
forms!MainForm!Subform2.form.refresh
forms!MainForm!Subform3.form.refresh
end sub
 
hi

Hi,


Thanks for that, works perfectly!


James
 

Users who are viewing this thread

Back
Top Bottom