views:

2680

answers:

1

Is there an equivalent to Thread.Sleep in access- VBA?

+8  A: 

Declare Sub Sleep Lib "kernel32" Alias "Sleep" _ (ByVal dwMilliseconds As Long)

Use the following syntax to call the Sleep function:

Sub Sleep()
Sleep 1000 'Implements a 1 second delay
End Sub
Otávio Décio
Ahh just found that my self. Thanks!
John Nolan