DECLARE INTEGER Sleep IN WIN32API INTEGER>=Sleep(2000) && time in msThanks Ed, that sounds much cleaner. Bob TracyNever engage in a battle of wits if you're only half armed.