Why I got an error on line code WScript.Sleep in my ActiveX task (local package)? I use Windows XP Pro. I need a wait timeout because sometimes the result of my ADODB recordset is not filled before the next line of code.
set rs = CreateObject("ADODB.Recordset")
set rs.ActiveConnection = cn
rs.Open sqlLookup, cn, adLockReadOnly
***
*** need wait timeout here ***
***
if not rs.Eof then
end if